LegitGit 命令行接口

联合创作 · 2023-10-01 12:07

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.
浏览 10
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报