Just run this:
$ git merge-base awesome master d931216adebf441dc7431f1a073baed8b4a1b20aAnd you'll get the SHA1 of the most recent common commit.
$ git merge-base awesome master d931216adebf441dc7431f1a073baed8b4a1b20aAnd you'll get the SHA1 of the most recent common commit.
git checkout -
to switch to the previous branch.# suppose we're at the branch 'master' now $ git checkout - Switched to branch 'awesome' # now let's go back to master $ git checkout - Switched to branch 'master'Yeah, that's pretty similar to a good old
cd -
.
git config --global alias.st status git config --global alias.co checkout git config --global alias.ci commitAnd you're done:
$ git ci --allow-empty -m "nice, we can commit with 'git ci' now"