LegitGit 命令行接口
Legit 是 Git 互補的命令行接口,特別為簡單的工作流做了優(yōu)化,其靈感來自 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.
評論
圖片
表情
