undo commit
$ git reset --hard 0ad5a7a6
// use --soft to reset as uncommitted change,
// or --hard to completely remove# KEEP CHANGES
git reset --soft HEAD~1
# REMOVE CHANGES
git reset --hard HEAD~1$ git reset --hard HEAD~1
$ git reset --soft HEAD~1
$ git reset --soft HEAD~1git reset --soft HEAD~1
Also in Shell:
- msdos dir for subdirectories
- git load all submodules
- install magento 2 command line composer
- how to run python in terminal
- git diff with remote branch
- mkdir linux
- error: eaccess: permission denied ionic
- how to rename working directory in linux
- bash permissions
- setup mysql ubuntu
- homestead.yaml adding provisions
- utorrent on ubuntu
- xampp linux
- install dateutil
- git match remote master
- crop video from specific time to specific time ffmpeg
- docker installation
- update node version mac
- fcm post example curl
- docker compose run
- change git password on terminal
- find npm version
- install metasploit in kali linux
- how to deploy to netlify using git bash