Add git remote set-branches
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 19 May 2010 18:38:50 +0000 (13:38 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 May 2010 03:45:41 +0000 (20:45 -0700)
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>
No differences found