Re: [1.8.0] Change branch --set-uptream to take an argument
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Feb 2, 2011, 04:18 UTC
- Message-ID
- <AANLkTi=qn-Jf32iOHsaFwwcwp4_UWxcwG+t1VepO0FrC@mail.gmail.com>
- In-Reply-To
- <buohbcn3wp5.fsf@dhlpc061.dev.necel.com>
On Tue, Feb 1, 2011 at 11:08 PM, Miles Bader <miles@gnu.org> wrote:
Show 10 quoted lines
> Jay Soffian <jaysoffian@gmail.com> writes: >> Okay, our emails criss-crossed. I agree with that, but my other email >> proposes adding -u <name> with correct behavior and just deprecating >> --set-upstream. I suppose we could instead (or in addition) just fix >> --set-upstream. > > BTW, you're just talking about "git branch", right? > > ['cause the way "--set-upstream" works with "git push" is perfect, and > shouldn't be changed...]
I was talking about git-branch and git-checkout. I didn't realize git-push even had --set-upstream. Interestingly, -u is an alias for --set-upstream with git-push, but not with git-branch.
j.