Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • That's pretty close. Unfortunately, that requires locating SHA-1 of feature-a when the current HEAD usually points to feature-c and I know I want the whole set rebased to new master. Any suggestions about how I can find the branch name nearest the master to automatically script this? (That is, in this case I'd need feature-a as the answer when given feature-c and master.) Commented Nov 11, 2013 at 6:41