Git 命令行接口:Legit
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.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!