Skip to content

Instantly share code, notes, and snippets.

@Pablo1
Last active August 29, 2015 14:00
Show Gist options
  • Save Pablo1/11069912 to your computer and use it in GitHub Desktop.
Save Pablo1/11069912 to your computer and use it in GitHub Desktop.
Make current commit only commit in a git repository (copied from stackoverflow)
rm -rf .git
git init
git add .
git commit -m "Initial commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment