Answers for "git add everything except"

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

bash delete everything except

$ rm -v !("filename1"|"filename2")
Posted by: Guest on October-19-2020
0

git add everything except

git add -u
git reset -- main/dontcheckmein.txt
Posted by: Guest on April-27-2021

Code answers related to "git add everything except"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language