Answers for "git add file but ignore changes"

0

git ignore changes to file

git update-index --assume-unchanged [<file> ...]

## To undo and start tracking again (if you forgot what files were untracked):
git update-index --no-assume-unchanged [<file> ...]
Posted by: Guest on October-31-2021
0

how to add filer to git ignore

go to the gitignore file, add the name of the file to ignore
Posted by: Guest on February-09-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language