Re: [PATCH v2] git-clone: Add option --branch to override initial branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 3, 2009, 17:07 UTC
- Message-ID
- <7vmyc2bkmc.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <49AD6305.8040909@gmail.com>
Tor Arne Vestbø <torarnv@gmail.com> writes:
> In that case you would either have to ff master all the time > (requiring a checkout or rebase magic), or do an explicit "git push > origin 1.6".
or do something like:
$ cat >>.git/config <<\EOF
[remote "there"]
push = HEAD
EOFjust once.