Skip to content

Instantly share code, notes, and snippets.

@johnpipi
Created October 10, 2012 16:52
Show Gist options
  • Save johnpipi/3866860 to your computer and use it in GitHub Desktop.
Save johnpipi/3866860 to your computer and use it in GitHub Desktop.
Git Commands
# Merge and squash commits
git checkout master
git merge --squash private_feature_branch
git commit -v
# Remove a tag locally
git tag -d mytag
# Remove tag remotely
git push origin :refs/tags/mytag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment