undo last commit
$ git reset --soft HEAD~1
git reset --soft HEAD~1$ git reset --soft HEAD~1$ git reset --hard HEAD~1
git reset --hard HEAD~1# KEEP CHANGES
git reset --soft HEAD~1
# REMOVE CHANGES
git reset --hard HEAD~1
Also in Shell:
- how ot get android notifications i ubuntu
- how to make maven clean install faster in eclipse
- bash ls without substring
- set feh wallpaper
- git remove file from history
- how to list all the available versionb for installation ubuntu
- install express globally
- git list remote branches
- server information in powershell
- Why are there two ways to unstage a file in Git?
- npm install react
- git undo pushed commit
- git reset in gitlab
- seti for ubuntu
- linux see when file created
- grub file path
- list interfaces centos
- no ip raspberry manually update
- bash head command
- list of files in git commit
- simple nodejs dockerfile
- .htaccess
- conda install keras
- Error: "could not find a temporary directory"