forked from kemayo/sublime-text-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.sublime-menu
128 lines (127 loc) · 6.75 KB
/
Main.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[
{
"id": "tools",
"children":
[
{
"caption": "Git",
"children":
[
{
"caption": "This file",
"children":
[
{ "caption": "Log", "command": "git_log" }
,{ "caption": "Graph", "command": "git_graph" }
,{ "caption": "-" }
,{ "caption": "Diff", "command": "git_diff" }
,{ "caption": "Diff (no whitespace)", "command": "git_diff", "args": { "ignore_whitespace": true } }
,{ "caption": "DiffTool", "command": "git_raw", "args": { "command": "git difftool", "append_current_file": true, "may_change_files": false } }
,{ "caption": "-" }
,{ "caption": "Add", "command": "git_raw", "args": { "command": "git add", "append_current_file": true } }
,{ "caption": "Add Selected Hunk", "command": "git_add_selected_hunk" }
,{ "caption": "-" }
,{ "caption": "Reset", "command": "git_raw", "args": { "command": "git reset HEAD", "append_current_file": true, "show_in": "suppress" } }
,{ "caption": "Checkout (Discard Changes)", "command": "git_raw", "args": { "command": "git checkout", "append_current_file": true } }
,{ "caption": "-" }
,{ "caption": "Quick Commit Current File", "command": "git_quick_commit" }
,{ "caption": "Commit Selected Hunk", "command": "git_commit_selected_hunk" }
,{ "caption": "-" }
,{ "caption": "Blame", "command": "git_blame" }
,{ "caption": "-" }
,{ "caption": "Toggle Annotations", "command": "git_toggle_annotations" }
]
}
,{
"caption": "Whole repo",
"children":
[
{ "caption": "Log", "command": "git_log_all" }
,{ "caption": "Graph", "command": "git_graph_all" }
,{ "caption": "-" }
,{ "caption": "Diff", "command": "git_diff_all" }
,{ "caption": "Diff (no whitespace)", "command": "git_diff_all", "args": { "ignore_whitespace": true } }
,{ "caption": "Diff Staged", "command": "git_diff_commit" }
,{ "caption": "Diff Staged (no whitespace)", "command": "git_diff_commit", "args": { "ignore_whitespace": true } }
,{ "caption": "Diff Tool", "command": "git_raw", "args": { "command": "git difftool", "may_change_files": false } }
,{ "caption": "Reset Hard", "command": "git_reset_hard_head" }
,{ "caption": "-" }
,{ "caption": "Add...", "command": "git_add_choice" }
,{ "caption": "-" }
,{ "caption": "Reset", "command": "git_raw", "args": { "command": "git reset HEAD", "show_in": "suppress" } }
,{ "caption": "-" }
,{ "caption": "Commit", "command": "git_commit" }
,{ "caption": "Amend Last Commit", "command": "git_commit_amend" }
,{ "caption": "-" }
,{ "caption": "Open...", "command": "git_open_file" }
]
}
,{
"caption": "Stash",
"children":
[
{ "caption": "Save", "command": "git_raw", "args": { "command": "git stash", "may_change_files": true } }
,{ "caption": "Pop", "command": "git_raw", "args": { "command": "git stash pop", "may_change_files": true } }
,{ "caption": "Apply", "command": "git_stash_apply" }
,{ "caption": "Drop", "command": "git_stash_drop" }
]
}
,{ "caption": "-" }
,{
"caption": "Flow",
"children":
[
{ "caption": "Feature Start", "command": "git_flow_feature_start"}
,{ "caption": "Feature Finish", "command": "git_flow_feature_finish"}
,{ "caption": "-"}
,{ "caption": "Release Start", "command": "git_flow_release_start"}
,{ "caption": "Release Finish", "command": "git_flow_release_finish"}
,{ "caption": "-"}
,{ "caption": "Hotfix Start", "command": "git_flow_hotfix_start"}
,{ "caption": "Hotfix Finish", "command": "git_flow_hotfix_finish"}
]
}
,{ "caption": "-" }
,{ "caption": "Init", "command": "git_init"}
,{ "caption": "Status...", "command": "git_status" }
,{ "caption": "Branches...", "command": "git_branch" }
,{ "caption": "Merge...", "command": "git_merge" }
,{ "caption": "See commit history...", "command": "git_commit_history"}
]
}
]
}
,{
"caption": "Preferences",
"mnemonic": "n",
"id": "preferences",
"children":
[
{
"caption": "Package Settings",
"mnemonic": "P",
"id": "package-settings",
"children":
[
{
"caption": "Git",
"children":
[
{
"command": "open_file",
"args": {"file": "${packages}/Git/Git.sublime-settings"},
"caption": "Settings – Default"
},
{
"command": "open_file",
"args": {"file": "${packages}/User/Git.sublime-settings"},
"caption": "Settings – User"
},
{ "caption": "-" }
]
}
]
}
]
}
]