diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-09-06 04:44:08 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-06 06:25:09 (GMT) |
commit | 4e560158c6de154fafab9fc3f6028d9edcc53e6b (patch) | |
tree | d26d602d7538a0547b249eec0bc2e7f40c7596f7 /archive-tar.c | |
parent | 432e93a16441a1a11aeb8158a634f76c214abb31 (diff) | |
download | git-4e560158c6de154fafab9fc3f6028d9edcc53e6b.zip git-4e560158c6de154fafab9fc3f6028d9edcc53e6b.tar.gz git-4e560158c6de154fafab9fc3f6028d9edcc53e6b.tar.bz2 |
Include a git-push example for creating a remote branch
Many users get confused when `git push origin master:foo` works
when foo already exists on the remote repository but are confused
when foo doesn't exist as a branch and this form does not create
the branch foo.
This new example highlights the trick of including refs/heads/
in front of the desired branch name to create a branch.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-tar.c')
0 files changed, 0 insertions, 0 deletions