Legit Git 命令行接口 项目简介
Legit 是 Git 互补的命令行接口,特别为简单的工作流做了优化,其灵感来自 GitHub for Mac.基本使用:$ git switch <branch>
# Switches to branch. Stashes and restores unstaged changes.
$ git sync
# Syncronizes current branch. Auto-merge/rebase, un/stash.
$ git publish <branch>
# Publishes branch to remote server.
$ git unpublish <branch>
# Removes branch from remote server.
$ git harvest <branch>
# Auto-merge/rebase commits from given branch.
$ git sprout <branch>
# Sprout a new branch from the current branch.
$ git graft <branch>
# Merge unpublished branch into current branch, then remove it.
$ git branches
# Nice & pretty list of branches + publication status.
# Switches to branch. Stashes and restores unstaged changes.
$ git sync
# Syncronizes current branch. Auto-merge/rebase, un/stash.
$ git publish <branch>
# Publishes branch to remote server.
$ git unpublish <branch>
# Removes branch from remote server.
$ git harvest <branch>
# Auto-merge/rebase commits from given branch.
$ git sprout <branch>
# Sprout a new branch from the current branch.
$ git graft <branch>
# Merge unpublished branch into current branch, then remove it.
$ git branches
# Nice & pretty list of branches + publication status.