git log --onelineCopy SHA of first commit and next (it's reset your local repo state withouch changing files):
git reset --soft <SHA of first commit>Check that everything to commit is green:
git statusCommit your changes (--amend fixes last commit), you can change commit message by adding "-m <your new message>":
git commit --amendPush your changes:
git push --force
Brak komentarzy:
Prześlij komentarz