Answers for "git ignore files in directory"

13

git ignore folder command

$ touch .gitignore
Posted by: Guest on June-09-2020
8

how to put files into gitignore

$ echo debug.log >> .gitignore
$ git rm --cached debug.log
rm 'debug.log'
$ git commit -m "Start ignoring debug.log"
Posted by: Guest on June-03-2020
0

git ignore all files and folders in folder

*
*/
!.gitignore
Posted by: Guest on December-05-2020

Code answers related to "git ignore files in directory"

Browse Popular Code Answers by Language