Code

builtin-remote: add set-head subcommand
authorJay Soffian <jaysoffian@gmail.com>
Wed, 25 Feb 2009 08:32:25 +0000 (03:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Feb 2009 23:19:09 +0000 (15:19 -0800)
commitbc14fac825d9728c311aaa9d0aecf4960d4a3103
treece2262b80efa48bfca8bc4fa48602fe169eda91d
parente61e0cc6b7061d7e791e1c9722b9c4a6d85d629c
builtin-remote: add set-head subcommand

Provide a porcelain command for setting and deleting
$GIT_DIR/remotes/<remote>/HEAD.

While we're at it, document what $GIT_DIR/remotes/<remote>/HEAD is all
about.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt
builtin-remote.c
contrib/completion/git-completion.bash
t/t5505-remote.sh