author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 6 Jul 2007 21:54:09 +0000 (22:54 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 7 Jul 2007 06:21:39 +0000 (23:21 -0700) | ||
commit | 34a3e695497ab2abbf2fc33a46380accaa8c7c15 | |
tree | b4f795ca6a786875cd0226ccba14c40ceab6fc8f | tree | snapshot |
parent | ae740a588d581b34d2794a0993ae45cdca6d5ece | commit | diff |
git-branch: default to --track
"git branch --track" will setup config variables when branching from
a remote branch, so that if you say "git pull" while being on that
branch, it automatically fetches the correct remote, and merges the
correct branch.
Often people complain that this is not the default for "git branch".
Make it so.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"git branch --track" will setup config variables when branching from
a remote branch, so that if you say "git pull" while being on that
branch, it automatically fetches the correct remote, and merges the
correct branch.
Often people complain that this is not the default for "git branch".
Make it so.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c | diff | blob | history |