Skip to content

Instantly share code, notes, and snippets.

@bricker
Created April 23, 2016 02:01
Show Gist options
  • Save bricker/626887ce31a23ea0c7aec81c9351d20c to your computer and use it in GitHub Desktop.
Save bricker/626887ce31a23ea0c7aec81c9351d20c to your computer and use it in GitHub Desktop.
mv .git/ /tmp
git init .
git add -A
git commit -m "Cleared history"
git remote add origin https://bitbucket.com/your-repo.git
git push -f origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment