summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 04:30:23 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 04:30:23 (GMT)
commit37f1a519f2ea0ce912ccd7c623aea992147c3900 (patch)
treefd17678d983e39cce1093e011c04ed9cf35dde21 /Makefile
parent91dcdfd3b5331d955cfb60edf8930f1b5c142905 (diff)
downloadgit-37f1a519f2ea0ce912ccd7c623aea992147c3900.zip
git-37f1a519f2ea0ce912ccd7c623aea992147c3900.tar.gz
git-37f1a519f2ea0ce912ccd7c623aea992147c3900.tar.bz2
Add "git branch" script
You can use it as git branch <branchname> [start-point] and it creates a new branch of name <branchname>. If a starting point is specified, that will be where the branch is created, otherwise it will be created at the current HEAD. The sequence git branch xyz abc git checkout xyz can also be written as git checkout -b xyz abc as per the previous commit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 03ea163..93479ae 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,8 @@ SCRIPTS=git git-apply-patch-script git-merge-one-file-script git-prune-script \
git-log-script git-shortlog git-cvsimport-script git-diff-script \
git-reset-script git-add-script git-checkout-script git-clone-script \
gitk git-cherry git-rebase-script git-relink-script git-repack-script \
- git-format-patch-script git-sh-setup-script git-push-script
+ git-format-patch-script git-sh-setup-script git-push-script \
+ git-branch-script
PROG= git-update-cache git-diff-files git-init-db git-write-tree \
git-read-tree git-commit-tree git-cat-file git-fsck-cache \