[BUG?] git branch -m doesn't update tracked branch config
- From
Dave Borowitz <dborowitz@google.com>
- Date
- Mar 15, 2012, 15:51 UTC
- Message-ID
- <CAD0k6qRWR9H8BejcXx3gzy2yQT_MjRBDtbZzhLVM215HQiaVhg@mail.gmail.com>
$ git branch --track branch master Branch branch set up to track local branch master. $ git branch -m master newmaster $ git branch -vv branch e8fadc2 [master] foo * newmaster e8fadc2 foo
I would have expected branch's upstream to now be newmaster rather than master, or at the very least some warning that branch now has a nonexistent upstream. Is this intended behavior, or a bug?