Re: Is there a way to mark a branch as published?
- From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
- Date
- Aug 1, 2014, 18:58 UTC
- Message-ID
- <1406919490.3253.3.camel@spirit>
- In-Reply-To
- <CAK3OfOjPQ1fcoA7O6EDcQ3iW_AdsjitK4WKSdLwpRRXm8xfrVA@mail.gmail.com>
On di, 2014-07-29 at 17:40 -0500, Nico Williams wrote:
> (or all of a repo's branches) > > Teamware recorded whether it had any "children" and warned about > rebasing published contents. Perhaps git could do the same.
Git doesn't record this directly, but you can see which known remote branches contain the tip of a branch:
git branch -a --contains yourbranchnamehere | grep remotes/
That doesn't say anything about remotes you don't know about of course.
-- Dennis Kaarsemaker www.kaarsemaker.net