Answers for "git add all except one file"

1

git add all except one file

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

where main/dontcheckmein.txt is the unwanted file.
Posted by: Guest on January-13-2021
0

git add except files

git add --all -- ':!path/to/file1' ':!path/to/file2' ':!path/to/folder1/*'
Posted by: Guest on June-28-2021

Code answers related to "git add all except one file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language