Legit是Git互补的命令行接口,特别为简单的工作流做了优化,其灵感来自GitHubforMac.
基本使用:
$gitswitch<branch>#Switchestobranch.Stashesandrestoresunstagedchanges.$gitsync#Syncronizescurrentbranch.Auto-merge/rebase,un/stash.$gitpublish<branch>#Publishesbranchtoremoteserver.$gitunpublish<branch>#Removesbranchfromremoteserver.$githarvest<branch>#Auto-merge/rebasecommitsfromgivenbranch.$gitsprout<branch>#Sproutanewbranchfromthecurrentbranch.$gitgraft<branch>#Mergeunpublishedbranchintocurrentbranch,thenremoveit.$gitbranches#Nice&prettylistofbranches+publicationstatus.
评论