Fill these in once
- Change the message
git commit --amend -m "Fix the typo on the home page" - Already pushed? Update GitHub too
git push --force-with-leaseOnly on your own branches: it rewrites history others may have pulled.
Check it worked
- See the new message
git log --oneline -3
- Change the message
git commit --amend -m "Fix the typo on the home page" - Already pushed? Update GitHub too
git push --force-with-leaseOnly on your own branches: it rewrites history others may have pulled.
Check it worked
- See the new message
git log --oneline -3
- Change the message
git commit --amend -m "Fix the typo on the home page" - Already pushed? Update GitHub too
git push --force-with-leaseOnly on your own branches: it rewrites history others may have pulled.
Check it worked
- See the new message
git log --oneline -3