repo.or.cz
/
git
/
wpalmer.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(WIP) rough ideas for git-abort / git-continue
[git/wpalmer.git]
/
git-abort.sh
blob
372a0ad9e51355c3c6ab3d0d5097b593eddeed21
1
#!/bin/sh
2
g
=
"$(git rev-parse --git-dir 2>/dev/null)"
||
exit
1
3
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