undo git
# KEEP CHANGES
git reset --soft HEAD~1
# REMOVE CHANGES
git reset --hard HEAD~1
Also in Shell:
- gcloud cd /root permission denied
- redirect folder to 403
- git return from detached head
- linux give permission to folder
- install dependencies @material-ui/lab/Rating
- bash grep and sort
- git diff two commits
- docker install ubuntu
- debian 10 buster mysql
- Error: ENOSPC: System limit for number of file watchers reached
- gunicorn launch django cmd
- how to make a tarball in linux
- move command in linux
- react-devtools agent got no connection
- package 'mana-toolkit' has no installation candidate
- how to get divided number in mac terminal
- install phantomjs
- git find merge conflicts
- git host key verification failed
- how to push to git hub
- too many security failures vnc
- how to know if keras is installed
- ubuntu terminal find file recursive
- how to remove an apt repository