how to undo a modified file in git
# If you want to revert the changes only in current working directory
git checkout -- .
# discard anything (note: you have to be in the directory
# where all of the changes are located)
# or you can use the command on line 9, you can discard anything
# on the repo
git checkout -- *
git checkout -- :/
# or if you check the git status message after modifying a file
# there is this command
git restore <file>
Also in Shell:
- pip install opencv version
- shutdown timer windows 10
- how to remove untracked files in git
- add git user and email
- delete local branch git
- find npm version
- commit the add complete folder to github
- how to check if i have docker installed
- install postgres
- linux unzip with password
- change git remote
- choco list installed
- git ignore node_modules
- git rebase vs merge
- name screen in linux
- git reset commiter credentials
- install packages from jupyter notebook
- delete a github repository using bash
- git reset specific file
- ubuntu add public key to server
- Tensorflow GPU Installation conda
- install gulp
- heroku cli
- install firebase npm