git 工作流的使用

A deep dive into the features and benefits of the Tower git client

深入了解Tower git客户端的功能和优势

Tower is a Git client that serves both Mac and Windows, offering a range of features that stand to increase productivity and reduce frustration for all who use it. Personally speaking, Tower has revolutionized my work process so I felt compelled to take a deep dive into some of the main features and benefits that this platform has to offer in the hopes that others may benefit from my experience. This article will lay out the reasons for adopting Tower, as well as the features that I have found most useful.

Tower是同时为Mac和Windows服务的Git客户端,提供了一系列功能,可以提高生产率并减少所有使用它的人的挫败感。 就个人而言,Tower彻底改变了我的工作流程,因此我感到不得不深入研究该平台必须提供的一些主要功能和优势,以希望其他人可以从我的经验中受益。 本文将介绍采用Tower的原因,以及我发现最有用的功能。

为什么要使用图形客户端? (Why Use a Graphical Client?)

Graphical vs Text-based Client
图形客户端与基于文本的客户端

Firstly, I’ll be clear, I have nothing against working with the Git command line. Here are some CLI advantages:

首先,我要明确一点,我不反对使用Git命令行。 以下是一些CLI优势:

命令行客户端优势 (Command Line Client Advantages)

  1. Preinstalled on macOS and most Linux distributions预装在macOS和大多数Linux发行版上
  2. Interoperability with other Unix commands与其他Unix命令的互操作性
  3. Highly automatable高度自动化
  4. Can be used remotely可以远程使用

With respect to the last two points, I often need to log into a server and access a repository over SSH. In these cases, command-line git is my tool of choice. For the vast majority of my daily work, however, I much prefer a graphical client. I will list some of the main reasons below:

关于最后两点,我经常需要登录到服务器并通过SSH访问存储库。 在这些情况下,命令行git是我选择的工具。 但是,对于我的大部分日常工作,我更喜欢图形客户端。 我将在下面列出一些主要原因:

图形化客户优势 (Graphical Client Advantages)

First-class visualization: on a fundamental level, git is a tree of changes (commits) to a version control history (repository). In graphical clients, we get a visualization of these changes that is always available, easy to read, and interactive.

一流的可视化 :从根本上讲,git是对版本控制历史记录(存储库)进行更改(提交)的树。 在图形客户端中,我们可以直观地看到这些更改,这些更改始终可用,易于阅读且具有交互性。

Being able to visualise commits, branches, tags, comments, authors in a single graph is indispensable.

能够在单个图形中可视化提交,分支,标签,注释,作者是必不可少的。

Faster workflow: with practice (and maybe additional tools) developers can work very fast with command-line Git, but I think it’s tough to compete with graphical clients offering features like:

更快的工作流程 :通过实践(也许还有其他工具),开发人员可以使用命令行Git进行非常快速的工作,但是我认为要与提供以下功能的图形客户端竞争是很困难的:

  • Drag and drop to pull, push and cherry-pick from a timeline拖放以从时间轴中拉,推和挑选樱桃
  • Multiple repository management多仓库管理
  • Shortcuts to flick between stashes, pull requests, and history.在存储,拉取请求和历史记录之间滑动的快捷方式。

Less to remember: every time I want to clone a repository from the command line and recursively pull all submodules, I have to check online for the right command! Each Git command generally supports multiple options, and this creates a lot of overhead. I could probably keep a cheat sheet handy, but why bother when a graphical client means that I don’t have to?

不必记住 :每次我想从命令行克隆存储库并递归提取所有子模块时,都必须在线检查正确的命令! 每个Git命令通常都支持多个选项,这会产生大量开销。 我可能可以方便地备忘单,但是当图形客户端意味着我不必这样做时,为什么还要打扰呢?

为什么要专门使用塔? (Why Use Tower Specifically?)

Here are some of the reasons why Tower is my git tool of choice:

这是为什么Tower是我选择的git工具的一些原因:

优美的UI和UX (Polished UI and UX)

Tower UI Overview
塔式UI概述

A well-designed user interface (UI) and user experience (UX) is incredibly important to me. I spend a lot of time auditioning and investigating the tools I use so that I can be sure of the best, most enjoyable workflow possible. After trying many clients, I’ve found that Tower has the most polished UX out there. It’s one of those apps where everything seems to be in the obvious place and nothing has been added that doesn’t need to be there.

设计良好的用户界面(UI)和用户体验(UX)对我来说非常重要。 我花了大量时间进行试听和研究所使用的工具,以便可以确定最佳,最愉快的工作流程。 在尝试了许多客户之后,我发现Tower有最抛光的UX。 它是其中所有似乎都在明显位置且没有添加任何不必要内容的应用程序之一。

And the UX design doesn’t just extend to the UI, it also includes:

UX设计不仅扩展到UI,还包括:

  • Tower’s support is amazing, I usually get same-day resolutions to tickets.

    塔的支持非常棒,我通常会在当天获得票务解决方案。

  • Tower’s documentation is outstanding. It includes guides, tutorials and webinars for Tower itself, and an entire eBook on git covering both GUI and command-line usage.

    Tower的文档非常出色。 它包括有关Tower本身的指南,教程和网络研讨会,以及有关git的完整电子书 ,涵盖了GUI 命令行用法。

拖放 (Drag and Drop)

One of the features of Tower that I use the most, besides simply making commits, is drag and drop.

除了简单地进行提交外,我最常使用的Tower的功能之一就是拖放。

Tower Drag and Drop
塔式拖放

Most common git operations including, merge, pull, publish, cherry-pick, and branch creation can be accomplished through drag and drop.

大多数常见的git操作(包括合并,拉,发布,cherry-pick和分支创建)都可以通过拖放来完成。

冲突向导 (Conflict Wizard)

One of the most time-consuming aspects of Git is dealing with merge conflicts. Tower makes this as painless as possible with an integrated conflict wizard. This enables me to visually choose the version of a file that I want to keep or to open in an external diff tool for a more detailed line-by-line conflict resolution (for this I wholeheartedly recommend Kaleidoscope).

Git最耗时的方面之一是处理合并冲突。 通过集成的冲突向导,Tower使此操作变得尽可能轻松。 这使我能够直观地选择要保留的文件版本,或在外部diff工具中打开文件的版本,以更详细地逐行解决冲突(为此,我全力推荐Kaleidoscope )。

Tower Merge Conflict Wizard
塔合并冲突向导

修订提交 (Amend Commits)

Amend Commit UI
修改提交用户界面

Imagine you just made a commit and accidentally omitted a file, or you simply made a typo in the commit message; this is where Tower’s Amend feature comes in.

想象一下,您刚刚进行了一次提交而无意中忽略了一个文件,或者您只是在提交消息中输入了错字; 这就是Tower的“修改”功能的出现。

If the Amend option is checked then a commit will amend the previous commit.

如果选中“修改”选项,则提交将修改先前的提交。

拉取请求 (Pull Requests)

I use GitHub as my main hosting backend. With Tower’s integrated pull request manager, I no longer need to open a web browser to deal with PRs. Everything I need is right there in the app.

我使用GitHub作为我的主要托管后端。 使用Tower的集成请求请求管理器,我不再需要打开Web浏览器来处理PR。 我需要的一切都在应用程序中。

Tower Pull Request UI
塔拉请求UI

This saves a tonne of time switching between different UIs and workflows and enables me to focus on the actual work to be done.

这节省了在不同的UI和工作流之间进行切换的大量时间,并使我能够专注于要完成的实际工作。

撤消! (Undo!)

Last, but not least, Tower supports undo. For me, this is a gamechanger. Imagine that you just created a tag but used the wrong version number, or just went through an interactive rebase but realized you accidentally included something incorrectly. Enter undo! In Tower I can undo pretty much anything, including:

最后但并非最不重要的一点,Tower支持撤消。 对我来说,这是一个改变游戏规则的人。 想象一下,您刚刚创建了一个标签,但是使用了错误的版本号,或者只是经过了交互式基础,但是意识到您不小心包含了错误的内容。 输入撤消! 在Tower中,我可以撤销几乎所有操作,包括:

  • Undo local changes撤消本地更改
  • Restore old revisions恢复旧版本
  • Revert commits还原提交
  • Recover deleted commits恢复已删除的提交
  • Undo branch deletions撤消分支删除

I don’t use Tower’s undo feature that frequently but when I do, it’s been a lifesaver!

我不经常使用Tower的撤消功能,但是当我这样做时,它就成了救命稻草!

最后的想法和定价 (Final Thoughts and Pricing)

I’ve written previously about how Tower is a core part of my development workflow; in fact, it’s one of the few apps that I have open constantly. Whether I’m working on my main job in Xcode or a personal project in vim, I need Tower open. I have it installed on both my Mac and in my Windows virtual machine.

之前,我曾写过关于Tower如何成为开发工作流程核心部分的文章。 实际上,它是我不断打开的少数几个应用程序之一。 无论我是在Xcode中从事主要工作还是在vim中从事个人项目,我都需要开放的Tower。 我在Mac和Windows虚拟机上都安装了它。

All of this convenience does come at a price. At the time of writing, Tower is $69 per year for a dual macOS / Windows license with additional licensing options for teams. This is quite expensive, especially given that prior to 2018 a perpetual license could be purchased for $79. However, if you want the most polished and productive git client available, Tower really is the best!

所有这些便利确实要付出代价。 在撰写本文时,Tower的macOS / Windows双重许可每年为69美元,并为团队提供其他许可选项 。 这是相当昂贵的,尤其是考虑到在2018年之前可以79美元的价格购买永久许可证。 但是,如果您想要最精巧,最高效的git客户端,Tower确实是最好的!

翻译自: https://codeburst.io/supercharge-your-git-flow-with-tower-c5dc22494eba

git 工作流的使用


http://www.taodudu.cc/news/show-5180052.html

相关文章:

  • ssh 远程复制文件_如何在不输入密码的情况下通过SSH远程复制文件
  • figma button_我应该切换figma素描吗
  • angle2quat_我希望我开始使用Angle 2时要知道的3件事
  • react创建动态表格_教程:使用React创建电子表格
  • 前端 css 通用css_编写CSS简易方法简易前端
  • shopify 结账_是自我结账的机器邪恶化身
  • win7 命令行工具_7个很棒的命令行工具
  • 微服务解决方案_微服务为您提供正确的解决方案
  • wordpress表格筛选_wpDataTables:WordPress中用于表格和图表的最佳插件
  • ipad safari php readfile mp4,MP4 plays when accessed directly, but not when read through PHP, on iOS
  • html编辑contentbuilder,HTML BUILDER
  • 【kali】29 提权—— 利用漏洞提权
  • 游戏站推荐
  • FineBI 中 逻辑函数 Switch 的使用
  • 关于switchhosts
  • switch未能连接ea服务器,《Apex》无法完成EA账号登入问题,迅游支持Switch联机加速...
  • One Switch 1.1 破解版 Mac 集合一键切换系统各项功能的神奇菜单软件
  • PHP Switch语句写法示例
  • Java 18 Switch语句更强大了
  • android 不能试用switch
  • Switch版初音 mega39去渲染 获得PS4版初音街机效果说明
  • switch好玩吗_Switch今年上半年游戏汇总 原来有这么多选择
  • 小程序switch内部加上文字_Switch每日情报:国行版《健身环大冒险》微信小程序上线...
  • SwitchHosts小工具
  • Hosts 和 SwitchHosts
  • 怎样录制电脑内部发出的声音
  • 大整数乘法---C语言实现
  • 大整数乘法(分治)
  • 大整数乘法(递归+分治法)
  • c/c++ 大整数乘法

git 工作流的使用_用塔增压您的git流相关推荐

  1. git object 很大_这才是真正的Git——Git内部原理

    本文以一个具体例子结合动图介绍了Git的内部原理,包括Git是什么储存我们的代码和变更历史的.更改一个文件时,Git内部是怎么变化的.Git这样实现的好处等等. TL;DR 本文以一个具体例子结合动图 ...

  2. git clone 添加代理_用树莓派3搭建私有git代码仓库

    0.出发点 由于项目开发的规模和复杂度越来越大,有时候需要同时多人在不同的嵌入式linux上开发代码,在没有用git管理代码和文档前,很难同步代码和文档的版本,宝贵的代码存储也没有安全感. githu ...

  3. git tag怎么使用_这才是真正的Git——Git内部原理揭秘

    本文作者:lzaneli,腾讯 TEG 前端开发工程师 本文以一个具体例子结合动图介绍了Git的内部原理,包括Git是什么储存我们的代码和变更历史的.更改一个文件时,Git内部是怎么变化的.Git这样 ...

  4. 虚拟机centos7 git clone特别慢_从文件生命周期看GIT的提交流程

    上一篇GIT的理论知识比较枯燥无味,理论性较强,也是难以引起共鸣! 波罗学:谈谈版本管理GIT之理论与架构​zhuanlan.zhihu.com 紧接上篇,今天从实在操作方面说一下GIT使用中,使用最 ...

  5. git clone 多个_软件测试知识点 | 测试过程常用的Git命令

    testkuaibao|软件测试自学公众号 点击上图进入软件测试面试题题库,面试题都是有相应的参考答案,希望对小伙伴们有所帮助 前言 目前,在版本控制系统中Git已经被广泛使用,并且很多技术团队也会逐 ...

  6. git tag怎么使用_这才是真正的Git——Git内部原理揭秘!

    本文以一个具体例子结合动图介绍了Git的内部原理,包括Git是什么储存我们的代码和变更历史的.更改一个文件时,Git内部是怎么变化的.Git这样实现的有什么好处等等. 通过例子解释清楚上面这张动图,让 ...

  7. git tag怎么使用_这才是真正的 Git:Git 内部原理揭秘!

    公众号关注 "GitHubDaily" 设为 "星标",每天带你逛 GitHub! 本文作者:lzaneli,腾讯 TEG 前端开发工程师 本文以一个具体例子结 ...

  8. git如何切换分支_如何让 Jenkins 支持选择 git 分支进行构建

    Prerequisite 必须先在 Jenkins 上安装: Git Plugin Git Parameter Plugin 配置 如果没使用 Jenkins Pipeline 可以直接看 插件文档 ...

  9. git 代码回滚_能提交到远程的Git回滚

    很多情况下我们需要回滚代码,最容易想到的就是git reset.但是git reset有个弱点,它是一个彻底的回滚,不能再提交给远程了,因为在提交记录里回滚点之后的记录都不见了. 做一下试验,一个文件 ...

最新文章

  1. cmd指令卸载java_.net 服务 安装 卸载 命令行 bat cmd
  2. 树莓派共享文件至电脑(samba)
  3. Objective-C:Objective-C:文件中一些对目录进行操作的函数
  4. 如何将 Azure 上的 Ubuntu 19.10 服务器升级到 20.04
  5. linux之如何复制文件夹所有文件到其它文件夹
  6. python 什么可以作为变量名_为什么强烈禁止开发人员使用isSuccess作为变量名
  7. MySQL count(1) , count(*), count(列名) 的异同
  8. diff算法_详解虚拟 DOM 与 DOM-Diff 算法,面试官放码过来!
  9. mysq;多表查询 总结
  10. Oracle 11g r2 下载地址
  11. topcoder srm 704 div1
  12. ElasticSearch全文搜索引擎之Restful API和索引操作篇
  13. Openresty 安装luarocks
  14. Securing Checklists
  15. 留学生Research Proposal 怎么写?
  16. 解决AssertionError Torch not compiled with CUDA enabled问题
  17. 【Linux】history用法
  18. TPshop电商平台购物车自动化测试
  19. 心疼果粉,10V、4A,荣耀Magic2超级快充充电头正式曝光厉害了
  20. 云桌面真的可以完全代替PC电脑吗?

热门文章

  1. Endnote使用总结
  2. Python-Django毕业设计综合售楼系统(程序+Lw)
  3. Go语言爱好者周刊:第 141 期
  4. 南非世界杯 小组赛 巴西vs葡萄牙
  5. 数控matlab实验心得,matlab实验心得体会
  6. MySql绿色版配置及使用详解
  7. 使用U盘,V盘,移动硬盘的终极方法 (转)
  8. sip服务器响应高并发请求,大容量高并发呼叫中心解决方案_Enjoytalk云通信
  9. [软件评测第十二期]遨游浏览器
  10. 2022-2027年中国针织机械行业市场调研及未来发展趋势预测报告