git reset hard directory
git reset --soft HEAD^
//resets head by 1git fetch origin
git reset --hard origin/master
sudo git reset --hard Headgit restore --source=HEAD --staged --worktree -- aDirectory
# or, shorter
git restore -s@ -SW -- aDirectory
Also in C++:
- jq yq for html
- git push existing repo
- install firewall-cmd centos 7
- get coordinates of the cursor ubuntu
- uninstall vscode linux
- how to install zip files using wsl
- ubuntu
- git revert last commit unpushed
- install nodejs with pacman
- generate rs256 key pair
- install pyqt5
- git delete origin branch
- usg rtsp conntrack
- Ubuntu 18.04 Mouse right click not working
- add remote branch git
- git remove proxy settings
- docker install
- table markdown github
- bash if user exists in a group then add
- extract tar.gz linux command line
- how to add exclusion to windows defender command line
- awk how to remove lines in one file that are found in another file
- kill skype ubuntu
- git set description branch