.gitignore /folder vs folder/

前端 未结 3 1363
后悔当初
后悔当初 2021-02-05 18:10

in .gitignore what is the difference between using

/bin

and

bin/

And how would I make it so that it removes a

3条回答
  •  孤街浪徒
    2021-02-05 18:29

    The latter would match "xxx/bin" and "bin" in any other subdirectories.

    Answer for your edit: *.ext would take care of all files in the repository ending w/ that ext.

提交回复
热议问题