Skip to content

Instantly share code, notes, and snippets.

@nacyot
Last active December 18, 2015 01:29
Show Gist options
  • Save nacyot/5704067 to your computer and use it in GitHub Desktop.
Save nacyot/5704067 to your computer and use it in GitHub Desktop.
BRANCH=`git rev-parse --abbrev-ref HEAD`
git commit --allow-empty -m "closes #${BRANCH}"
git checkout master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment