-
Notifications
You must be signed in to change notification settings - Fork 1
/
Branch.sublime-menu
84 lines (84 loc) · 2.72 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
[
{ "command": "checkout_branch", "args": { "branch": "$branch" }, "caption": "创建分支…" },
{
"caption": "合并分支…",
"command": "merge_branch",
"args": { "branch": "$branch" },
},
{ "command": "rebase_branch", "args": { "branch": "$branch", "commit": "$commit" }, "caption": "Rebase '$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": "-" },
{
"caption": "Git Flow: 完成",
"command": "gitflow_finish_feature",
"args": { "branch": "$branch" },
},
{
"caption": "Git Flow: 完成",
"command": "gitflow_finish_bugfix",
"args": { "branch": "$branch" },
},
{
"caption": "Git Flow: 完成",
"command": "gitflow_finish_release",
"args": { "branch": "$branch" },
},
{
"caption": "Git Flow: 完成",
"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" }
]