Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git add all except one file

git add -u
git reset -- main/dontcheckmein.txt

where main/dontcheckmein.txt is the unwanted file.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #add #file
ADD COMMENT
Topic
Name
6+3 =