git revert uncommitted changes
# 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># Revert changes to modified files.
git reset --hard
# Remove all untracked files and directories.
# '-f' is force, '-d' is remove directories.
git clean -fd
Also in C++:
- awk convert first character to lowercase
- install idle3 in linux
- install drush on ubuntu 18.04
- ubuntu certbot nginx
- ubuntu settings missing
- install babel core
- Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period.
- Calling Non-checksummed download of pup formula file from an arbitrary URL is disabled!
- how to cd unc
- pyinstaller “failed to execute script” error with --noconsole option
- react 17 install
- git ignore updates to file
- get repository url git cil
- extract a tar.xz in linux
- svg to png convert imagemagick
- install google chrome on ubuntu
- install virtualbox ubuntu 20 wsl command line
- scan port linux
- bash get one checksum for many files
- manjaro nodejs
- how to install paint.net on linux
- default port ftp
- clean uninstall ubuntu-desktop from ubuntu server
- systemctl status apache2.service