Answers for "gitignore *"

15

.gitignore

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

There is no explicit git ignore command; instead, the . gitignore file must be edited and committed by hand when you have new files that you wish to ignore. The . gitignore files hold patterns that are matched against file names in your repository to determine whether or not they should be ignored.
Posted by: Guest on September-14-2021

Browse Popular Code Answers by Language