Ändern Sie die Git -Commit -Nachricht
git commit --amend -m "New commit message"
Mobile Star
git commit --amend -m "New commit message"
$ git config --global user.name "John Doe"
$ git config --global user.email "[email protected]"
If you reset --hard, it will make your local code and local history be just like it was at that commit. But if you wanted to push this to someone else who has the new history, it would fail:
git reset --hard c14809fa
And if you reset --soft, it will move your HEAD to where they were , but leave your local files etc. the same:
git reset --soft c14809fa