Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

amend specific commit

git rebase -i @~9   # Show the last 9 commits in a text editor
# Here you can change the one you want to change from `pick` to `e` or `edit`
# After that you can either ammend it to change the message:
git commit --amend # or you can reset the changes and commit it again: `git reset @~`
# When all the changes are made, rebase it
git rebase --continue
Comment

PREVIOUS NEXT
Code Example
Shell :: linux shell arguments 
Shell :: how to watch a log file in linux 
Shell :: clone a particular branch 
Shell :: Conditional variables in gitlab-ci.yml 
Shell :: how install node 14 ubuntu 
Shell :: powershell script enable tls 1.2 
Shell :: linux install android sdk 
Shell :: wslconfig example 
Shell :: search tag git 
Shell :: ubuntu install gnote 
Shell :: intellij for mac crack 
Shell :: how to add git bash to context menu 
Shell :: docker redis set username and password 
Shell :: how to remove large file from github repo history 
Shell :: kde up maxfps 
Shell :: set github ssh key 
Shell :: mkdir powershell 
Shell :: linux change file name 
Shell :: uninstall nvidia x server ubuntu 
Shell :: composer for windows 
Shell :: setup redis ubuntu 
Shell :: install v2ray 
Shell :: how to make directory in ubantu 
Shell :: install gradle 
Shell :: crosh 
Shell :: pdf to images imagemagick 
Shell :: cent os GUI install 
Shell :: rust dockerfile 
Shell :: ffmpeg boost audio level 
Shell :: remove file history from git 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =