Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
git change author of last 2 commits
Juliano Nunes Silva Oliveira
Programming language:
Shell/Bash
2021-04-20 23:16:41
3
Q:
git change author of last 2 commits
Clara Franks
Code:
Shell/Bash
2021-02-08 15:30:34
git rebase -i YOUR_SHA -x "git commit --amend --author 'New Name <
[email protected]
>' -CHEAD"
0
Tags
git
change
last
Related
git get current commit hash
find total commit in git by specific user
git revert all commits to pervious commit
apply gitignore to current commit
git amend last commit message
git squash last 2 commits
git add file to last commit
amend last commit message
git revert last 2 commits
git change commit author for all commits
git commits by author
git change author multiple commits
git files changed between two commits
New to Communities?
Join the community