Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git change commit author for all commits

# Changes the username and email of all commits from the start.
git rebase -i --root -x "git commit --amend --author='YOUR_USERNAME <user@example.com> --no-edit'"
Comment

git change author multiple commits

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

git rebase -i YOUR_SHA -x "git commit --amend --reset-author -CHEAD"
Comment

git change author of last 2 commits

git rebase -i YOUR_SHA -x "git commit --amend --author 'New Name <new_address@example.com>' -CHEAD"
Comment

PREVIOUS NEXT
Code Example
Shell :: generate uml from python code 
Shell :: restart bluetooth kali 
Shell :: video trimmer ubuntu 
Shell :: install adminlte in laravel 
Shell :: how to connect your repo to your vscode 
Shell :: how to get out from vim editor 
Shell :: redis: command not found 
Shell :: cargo new lib 
Shell :: vim change all spaces to tabs 
Shell :: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied 
Shell :: conda update with environment from yml file 
Shell :: how to find the oldest files git 
Shell :: cannot update paths and switch to branch at the same time 
Shell :: upgrade package using pip 
Shell :: apt install yarn 
Shell :: check linux disk ussed in wsl wwindow 
Shell :: npm install from github 
Shell :: add ssh to github 
Shell :: ssh-keygen ed25519 
Shell :: npm install --save-dev shortcut 
Shell :: how to cat only the first ten lines of a file linux 
Shell :: Command to create a new Vue app 
Shell :: tar multiple files and directories 
Shell :: how to download virtualbox on kali linux 
Shell :: view certificate openssl 
Shell :: command line of linux os 
Shell :: what is bin/bash 
Shell :: linux ip route add 
Shell :: cutefish desktop enviroment install 
Shell :: github.com api 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =