Permalink
Fetching contributors…
Cannot retrieve contributors at this time
135 lines (133 sloc) 7.32 KB
[
{
"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": "Move/Rename...", "command": "git_mv"}
,{ "caption": "Remove/Delete", "command": "git_raw", "args": { "command": "git rm", "append_current_file": true } }
,{ "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": "Open Config", "command": "git_open_config_file" }
,{ "caption": "Open Url", "command": "git_open_config_url", "args": { "url_param": "remote.origin.url" } }
]
}
,{
"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": "List", "command": "git_stash_list" }
]
}
,{ "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": "-" }
]
}
]
}
]
}
]