Answers for "how to commit 1 file in git"

0

git commit exluding one file

git update-index --assume-unchanged "main/dontcheckmein.txt"

/*and to undo that*/
git update-index --no-assume-unchanged "main/dontcheckmein.txt"
Posted by: Guest on October-01-2021
0

commit only single file in git

git commit [some files]
Posted by: Guest on February-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language