(WIP) rough ideas for git-abort / git-continue
[git/wpalmer.git] / git-abort.sh
blob372a0ad9e51355c3c6ab3d0d5097b593eddeed21
1 #!/bin/sh
2 g="$(git rev-parse --git-dir 2>/dev/null)" || exit 1
4 # Situations:
5 # REBASE-INTERACTIVE
6 # git rebase abort
7 # MERGE
8 # what's a safe way to do this? reset --hard is too much of a sledgehammer, but might be
9 # appropriate in some situations. Checkout --patch ?
10 # BISECT
11 # git bisect reset