-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBranch.sublime-menu
94 lines (94 loc) · 2.69 KB
/
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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[
{ "command": "checkout_branch", "args": { "branch": "$branch" }, "caption": "切换分支…" },
{
"caption": "合并分支…",
"command": "merge_branch",
"args": { "branch": "$branch" },
},
{ "command": "rebase_branch", "args": { "branch": "$branch", "commit": "$commit" }, "caption": "变基 $branch 分支…" },
{ "command": "delete_branch", "args": { "ref": "$ref" }, "caption": "删除 $branch 分支…" },
{
"command": "show_command_palette",
"args":
{
"command": "rename_branch",
"args": {"branch": "$branch"},
"description": "重命名 $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": "显示所有隐藏的分支" },
{
"command": "show_command_palette",
"args":
{
"command": "set_upstream",
"args": { "branch": "$branch" },
"description": "关联上游分支…"
}
},
{
"caption": "取消上游分支关联",
"command": "unset_upstream",
"args": { "branch": "$branch" }
},
{
"caption": "搜索…",
"command": "search",
"args": { "query": "branch:$branch " },
},
{ "caption": "-" },
{
"caption": "Git Flow: 完成",
"command": "show_command_palette",
"args": { "command": "gitflow_finish_feature", "args": {"branch": "$branch"}},
},
{
"caption": "Git Flow: 完成",
"command": "show_command_palette",
"args": { "command": "gitflow_finish_bugfix", "args": {"branch": "$branch"}},
},
{
"caption": "Git Flow: 完成",
"command": "show_command_palette",
"args": { "command": "gitflow_finish_release", "args": {"branch": "$branch"}},
},
{
"caption": "Git Flow: 完成",
"command": "show_command_palette",
"args": { "command": "gitflow_finish_hotfix", "args": {"branch": "$branch"}},
},
{
"caption": "Git Flow: Rebase",
"command": "gitflow_rebase_feature",
"args": { "branch": "$branch" },
},
{
"caption": "Git Flow: Rebase",
"command": "gitflow_rebase_bugfix",
"args": { "branch": "$branch" },
},
{
"caption": "Git Flow: Rebase",
"command": "gitflow_rebase_release",
"args": { "branch": "$branch" },
},
{
"caption": "Git Flow: Rebase",
"command": "gitflow_rebase_hotfix",
"args": { "branch": "$branch" },
},
{
"caption": "Git Flow: Rebase",
"command": "gitflow_rebase_support",
"args": { "branch": "$branch" },
},
{ "caption": "-", "id": "end" }
]