Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout-index: work from subdirectory.
[gitweb.git]
/
git-reset.sh
diff --git
a/git-reset.sh
b/git-reset.sh
index 2086d26d343c59d36df79d874d65f58d6d7d8b10..72ef303aedc69a1d9cdd946a91059638cb2e550a 100755
(executable)
--- a/
git-reset.sh
+++ b/
git-reset.sh
@@
-1,5
+1,5
@@
#!/bin/sh
-. git-sh-setup
|| die "Not a git archive"
+. git-sh-setup
usage () {
die 'Usage: git reset [--mixed | --soft | --hard] [<commit-ish>]'