git reset last commit
# KEEP CHANGES
git reset --soft HEAD~1
# REMOVE CHANGES
git reset --hard HEAD~1git reset --soft HEAD~1#this will preserve changes done to your files
git reset --soft HEAD~1
#this will get rid of the commit and the changes done to the files
$ git reset --hard HEAD~1
$ git reset --soft HEAD~1git reset --hard HEAD~1$ git reset --soft HEAD~1
Also in C++:
- git reset branch
- move files command line windows
- bash uppercase string
- Error: .ini file does not include supervisorctl section
- laravel installer version
- git connect to remote repository
- oh my zsh autocomplete
- why jupyter notebook suggestions not showing after upgrade
- how to clear a file linux stack overflow
- run script on files in folder output to file
- docker install
- how to know version of tensorflow in linux command line
- filter npm audit only high
- sublime text download ubuntu
- bash mail subject variable
- git go back to previous commit
- on in get first two digit start with two numbers c#
- remove remote origin git
- how to check machine is 32bit or 64bit linux
- connectify alternative for linux
- create zip file terminal linux
- docker run name
- conda install openjdk=11
- uploading a folder to github