Joined February 2012
·

Brian Gesiak

first-class citizen
·
Brooklyn, NY
·
·
·

You can get a reference to the last branch by using -.

$ git checkout master # => master
$ git checkout -b new-branch # => new-branch
$ git checkout - # => master
$ git checkout - # => new-branch
$ git merge - # => merges master into new-branch
Achievements
754 Karma
29,282 Total ProTip Views