Skip to content

Instantly share code, notes, and snippets.

@Konctantin
Created August 30, 2017 10:14
Show Gist options
  • Select an option

  • Save Konctantin/3af556a257b523d8bbfbfd2c9d1a6993 to your computer and use it in GitHub Desktop.

Select an option

Save Konctantin/3af556a257b523d8bbfbfd2c9d1a6993 to your computer and use it in GitHub Desktop.
[guitool "git clean -fd"]
cmd = git clean -f -d
[guitool "git reset --hard"]
cmd = git reset --hard
[guitool "git pull origin master"]
cmd = git pull origin master
[guitool "git submodule update --init --recursive"]
cmd = git submodule update --init --recursive
[guitool "git stash"]
cmd = git stash
[guitool "git stash pop"]
cmd = git stash pop
[guitool "Open current file"]
cmd = exec \"C:\\\\Program Files (x86)\\\\Notepad++\\\\notepad++.exe\" $FILENAME
noconsole = yes
needsfile = yes
[guitool "Reset current file changes"]
cmd = git checkout $FILENAME
needsfile = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment