Fill these in once
- Undo the last few commits but keep all the changes
git reset --soft HEAD~3 - Commit them again as one
git commit -m "Add the login page" - Already pushed? Update GitHub
git push --force-with-leaseOnly on your own branches.
Check it worked
- See the single commit
git log --oneline -5
- Undo the last few commits but keep all the changes
git reset --soft HEAD~3 - Commit them again as one
git commit -m "Add the login page" - Already pushed? Update GitHub
git push --force-with-leaseOnly on your own branches.
Check it worked
- See the single commit
git log --oneline -5
- Undo the last few commits but keep all the changes
git reset --soft HEAD~3 - Commit them again as one
git commit -m "Add the login page" - Already pushed? Update GitHub
git push --force-with-leaseOnly on your own branches.
Check it worked
- See the single commit
git log --oneline -5