Re: set-upstream for existing branch...?
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Feb 17, 2011, 07:45 UTC
- Message-ID
- <AANLkTi=GPeo9Xr2taF6bsTF554SguDKGHo_S4P62xyxX@mail.gmail.com>
- In-Reply-To
- <AANLkTim6HDCaeTDuEtK+3niKKoz6A3KA=m=UCr4DaY-V@mail.gmail.com>
On Thu, Feb 17, 2011 at 2:24 AM, Miles Bader <miles@gnu.org> wrote:
> Hmm, on a related note, is there an obvious way to _show_ the current > branch's upstream...? > > [I mean, which just prints out "origin/master" or whatever...]
git rev-parse --abbrev-ref @{u}j.