Context: Started project on GitHub and have been experimenting with git commands. The history of the project is untidy.
Question: How can I remove all history and replace all commit messages with something along the lines of "Uploaded initial version of project source"?
This option will allow you to keep all your configuration files for the projectgit reset --soft <sha_of_initial_commit>
git commit -a --amend -m "initial commit"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With