Skip to content

Instantly share code, notes, and snippets.

@meleyal
Created August 16, 2010 13:38
Show Gist options
  • Save meleyal/526949 to your computer and use it in GitHub Desktop.
Save meleyal/526949 to your computer and use it in GitHub Desktop.
git recipes
# remove delete files
git rm $(git ls-files -d)
# delete remote branch
git push origin :branch-to-delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment