author | Jonathan Nieder <jrnieder@gmail.com> | |
Wed, 19 May 2010 18:38:50 +0000 (13:38 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 20 May 2010 03:45:41 +0000 (20:45 -0700) | ||
commit | 3d8b69495fd1132d5af6d7f46425cca97a937d97 | |
tree | 174092947dfbff9ef6f261a838b1a07e048d07e0 | tree | snapshot |
parent | 636e87d705c2d6cc53d58eac31b689779d00b292 | commit | diff |
Add git remote set-branches
Add ‘git remote set-branches’ for changing the list of tracked refs
for a remote repository with one "porcelain-level" command. This
complements the longstanding ‘git remote add --track’ option.
The interface is based on the ‘git remote set-url’ subcommand.
git remote set-branches base --add C
git remote set-branches base A B D
git remote set-branches base --delete D; # not implemented
Suggested-by: martin f. krafft <madduck@debian.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Add ‘git remote set-branches’ for changing the list of tracked refs
for a remote repository with one "porcelain-level" command. This
complements the longstanding ‘git remote add --track’ option.
The interface is based on the ‘git remote set-url’ subcommand.
git remote set-branches base --add C
git remote set-branches base A B D
git remote set-branches base --delete D; # not implemented
Suggested-by: martin f. krafft <madduck@debian.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt | diff | blob | history | |
builtin/remote.c | diff | blob | history | |
t/t5505-remote.sh | diff | blob | history |