Change Git commit user name and author
# For one commit
git commit --amend --author="Author Name <[email protected]>"
# for multiple commits
git rebase -i B
#if you need to edit A, use
git rebase -i --root
#change the lines for both C and D from pick to edit
#Once the rebase started, it would first pause at C You would
git commit --amend --author="Author Name <[email protected]>"
#Then
git rebase --continue
#It would pause again at D
#Then you would
git commit --amend --author="Author Name <[email protected]>" #again
git rebase --continue
#The rebase would complete.
#Use
git push -f #to update your origin with the updated commits.
Also in Shell:
- Amazon Linux 2 AMI install docker
- gats gatsby-plugin-offline
- how to access a samba share folder in linux
- cmd prompt format
- Could not install Visual Studio Build Tools.
- Change Git commit user name and author
- gzip folder with tar and exclude directories
- set git pull rebase default
- kali linux change keyboard layout
- fast rsync
- kill port ubuntu
- The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
- how to list all versions of pip in ubuntu using grep
- bash generate random number between
- install pyenv
- edit default port for linux server
- linux edit file
- swagger editor locally
- vmware mukesh003
- install apache ubuntu
- adding jars to classpath in linux
- loop through directories bash
- linux command line in windows 10
- bash for loop