-
Notifications
You must be signed in to change notification settings - Fork 1
/
Remote Branch.sublime-menu
22 lines (22 loc) · 1.17 KB
/
Remote Branch.sublime-menu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[
{ "command": "create_branch", "args": {"from": "$branch"}, "caption": "创建分支…" },
{ "command": "checkout_local_branch", "args": {"remote_branch": "$branch"}, "caption": "切换本地 $head 分支" },
{ "command": "checkout_branch", "args": {"branch": "$branch"}, "caption": "切换 $branch 分支" },
{
"caption": "合并 $branch 分支到 $head 分支…",
"command": "merge_branch",
"args": { "branch": "$branch" },
},
{ "command": "rebase_branch", "args": {"branch": "$branch"}, "caption": "变基 $branch 分支…" },
{ "command": "delete_branch", "args": {"ref": "$ref"}, "caption": "删除 $branch 分支…" },
{
"caption": "复制分支名: $branch",
"command": "copy_to_clipboard",
"args": {"text": "$branch"}
},
{ "command": "hide_ref", "args": { "ref": "$ref" }, "caption": "隐藏 $branch 分支" },
{ "command": "show_ref", "args": { "ref": "$ref" }, "caption": "显示 $branch 分支" },
{ "command": "hide_all_refs_except", "args": { "ref": "$ref" }, "caption": "隐藏除 $branch 之外的所有分支" },
{ "command": "show_all_refs", "args": { "ref": "$ref" }, "caption": "显示所有隐藏的分支" },
{ "caption": "-", "id": "end" }
]