Answers for "** gitignore"

15

.gitignore

node_modules
.DS_Store
.env
Posted by: Guest on November-11-2019
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

!.gitignore

$ cat .gitignore
    vmlinux*
    $ ls arch/foo/kernel/vm*
    arch/foo/kernel/vmlinux.lds.S
    $ echo '!/vmlinux*' >arch/foo/kernel/.gitignore
Posted by: Guest on June-04-2021
0

.gitignore

*.log
build/
temp-*
Posted by: Guest on January-21-2022
0

gitignore

Create a file named ".gitignore" on the outer most place of your project
add the file or folder names you want git to ignore before pushing.
Example- node_modules
Posted by: Guest on February-18-2022

Browse Popular Code Answers by Language