Skip to content

Instantly share code, notes, and snippets.

@felipecarvalho
Last active July 15, 2021 15:10
Show Gist options
  • Select an option

  • Save felipecarvalho/b4e6de24f6a516f4a6a96576a59985b8 to your computer and use it in GitHub Desktop.

Select an option

Save felipecarvalho/b4e6de24f6a516f4a6a96576a59985b8 to your computer and use it in GitHub Desktop.
Clean commit history
git init
git add .
git commit -m 'Initial commit'
git branch -M main
git remote add origin [repo_address]
git push --mirror --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment