代码拉取完成,页面将自动刷新
Inspired by GitHub for Mac.
GitHub for Mac is not just a Git client.
This comment on Hacker News says it best:
They haven't re-created the git CLI tool in a GUI, they've created something different. They've created a tool that makes Git more accessible. Little things like auto-stashing when you switch branches will confuse git veterans, but it will make Git much easier to grok for newcomers because of the assumptions it makes about your Git workflow.
Why not bring this innovation back to the command line?
branches
sync [<branch>]
resync <upstream-branch>
switch <branch>
sprout [<branch>] <new-branch>
harvest [<branch>] <into-branch>
graft <branch> <into-branch>
publish [<branch>]
unpublish <branch>
install
From PyPI with the Python package manager:
pip install legit
Or download a standalone Windows executable from GitHub Releases.
You'll then have the wonderful legit
command available. Run it within
a repository.
To install the git aliases, run the following command:
legit install
$ git config legit.remote remotename
stash pop
merge fails, Legit stops. I'd like to add checking for a failed merge, and undo the command with friendly error reporting.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。