git checkout filename
git checkout README # would normally discard uncommitted changes
# to the _file_ "README"
git checkout master # would normally switch the working copy to
# the _branch_ "master"
git checkout -- master # discard uncommitted changes to the _file_ "master"
Also in C++:
- bash conditional regex match
- awk how to remove lines in one file that are found in another file
- git remove all branches except master windows
- windows powershell symlink
- debian netstat command not found
- grep on mac os terminal
- command for open new terminal linux
- remove remote origin git
- how to know version of tensorflow in linux command line
- bash if
- lsof port
- install scratchpad jupyter notebook
- kill process ubuntu
- check gnome version ubuntu terminal
- uninstall package with pip
- display docker networks
- remove a folder from git tracking
- bash concatenate two columns
- how to check spark version
- grep print all after
- helmfile install ubuntu
- how to add text to promt in linux
- how to reduce the size of an image in linux
- redis download