change git commit message
git commit --amend -m "New commit message"
change git commit message
git commit --amend -m "New commit message"
git change commit id email
$ git config --global user.name "John Doe"
$ git config --global user.email "[email protected]"
git chnage to commit id
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us