how to uncommit my last commit in git
git reset --soft HEAD^
git reset HEAD^
//And if you actually want to completely undo it, throwing away all uncommitted changes, resetting everything to the previous commit (as the original question asked):
git reset --hard HEAD^
Also in Shell:
- show output after a keyword in shell script in a file
- default root password ubuntu 18.04
- create a virtual environment python conda
- update node version mac
- ubuntu passwordless sudo
- linux multiline commet
- linux merge two pdfs
- vant github
- zip current directory mac command line
- locate file in same directory linux
- how to kill tasks using grep
- haproxy in centos 7
- hide ls: cannot read symbolic link Permission denied
- how to install react with typescript
- list of files in git commit
- install .net core sdk on linux
- how to see all branches in git
- install virtualenv conda
- dos dir filename only
- pip installer for mac
- install linuxbrew
- linux loop over all arguments one by one
- cp multiple files
- git config ssl verify false