Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git undo commit keep changes

#windows
git reset --soft HEAD~1
Comment

git revert commit but keep changes

git reset HEAD^
Comment

undo git commit and keep changes

git reset HEAD^
git reset
Comment

PREVIOUS NEXT
Code Example
Shell :: ultimate power plan windows 10 
Shell :: install ping docker 
Shell :: install beautifulsoup windows 
Shell :: uninstall apache2 ubuntu 20.04 
Shell :: how to know fedora version 
Shell :: update raspi 
Shell :: zsh: command not found: jq 
Shell :: add git user and email 
Shell :: zoom repository ubuntu 
Shell :: apple m1 pod install issue 
Shell :: flush dns cache linux 
Shell :: ubuntu version command 
Shell :: refusing to merge unrelated histories bitbucket 
Shell :: how to install yup 
Shell :: install docker nvidia 2 
Shell :: install telnet mac 
Shell :: Although GNOME Shell integration extension is running, native host connector is not detected 
Shell :: grafana cli restart 
Shell :: remote origin already exist error 
Shell :: Install Material ui on react app 
Shell :: install terminator in ubuntu 
Shell :: remove nginx 
Shell :: ubuntu clean up disk space 
Shell :: ram usage in linux 
Shell :: install pm2 
Shell :: powershell get current user 
Shell :: disable ufw 
Shell :: git undo amend 
Shell :: uninstall rvm 
Shell :: install and enable docker on arch 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =