Add Sublime-Merge to repo. Mostly for my commands

This commit is contained in:
Amelia A 2023-01-07 18:43:18 -08:00
parent 1f122e2ce8
commit 26764e898b
Signed by: amy
SSH Key Fingerprint: SHA256:qBZcJvigz/2V1hkfVzAi8HqF6mV2YpjkcIaZ8CB04rU
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,55 @@
// I have a GREAT need for all my own commands
[
{
"caption": "Cleanup Repo",
"command": "git",
"args": {"argv": ["gc", "--aggressive", "--prune=now"]}
},
{
"caption": "Add All",
"command": "git",
"args": {"argv": ["add", "--all"]}
},
{
"caption": "Switch…",
"command": "git",
"args": {"argv": ["switch", "$select_branch"]}
},
{
"caption": "Switch Create…",
"command": "git",
"args": {"argv": ["switch", "--force-create", "$text"]}
},
{
"caption": "Interactive rebase onto main",
"command": "git",
"args": {"argv": ["rebase", "--interactive", "main"]}
},
// Custom command in .gitconfig
{
"caption": "Clean (wipe) all branches",
"command": "git",
"args": {"argv": ["wipe"]}
},
// Use Hub to give me my github intigration
{
"caption": "Browse in GitHub",
"command": "git",
"args": {"argv": ["browse"]}
},
{
"caption": "Fork on GitHub",
"command": "git",
"args": {"argv": ["fork", "--org=onlyhavecans"]}
},
{
"caption": "Open PR",
"command": "git",
"args": {"argv": ["pull-request", "--browse"]}
},
{
"caption": "Sync",
"command": "git",
"args": {"argv": ["sync", "--color=never"]}
}
]

View File

@ -0,0 +1,9 @@
// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by syntax-specific settings.
{
"font_face": "JetBrains Mono",
"font_size": 13,
"line_padding_bottom": 1,
"theme": "auto",
"git_binary": "hub",
}

View File

@ -0,0 +1 @@
../../../../../User-Sublime-Merge