projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Everyday GIT with 20 commands
[git.git]
/
git-branch.sh
diff --git
a/git-branch.sh
b/git-branch.sh
index
b48c329
..
5306b27
100755
(executable)
--- a/
git-branch.sh
+++ b/
git-branch.sh
@@
-2,6
+2,11
@@
GIT_DIR=`git-rev-parse --git-dir` || exit $?
+die () {
+ echo >&2 "$*"
+ exit 1
+}
+
usage () {
echo >&2 "usage: $(basename $0)"' [-d <branch>] | [[-f] <branch> [start-point]]