how to ignore 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>git update-index --assume-unchanged dir-im-removing/
Also in C++:
- linux monitor outgoing https requests
- display settings ubuntu 20.04 in right side
- how can I find perticular extension in ubuntu?
- ubuntu root login ssh
- linux find size of directory and subdirectories
- install angular bootstrap
- powershell delete files older than 15 days
- declare dataset in powershell
- install angular cli specific version
- vim wsl copy to windows system clipboard
- npm install redux thunk
- running file pug
- cast audio to google home mini from pc linux
- how to pull git repository from github
- git liste branches
- linux refresh .bashrc
- react-native init directory locked in ubuntu why
- install dot-prop
- install grub manually
- store ls into array bash
- k8s install rabbitmq
- download file using cmd
- find file in linux with regex
- cmd listening ports