Can I make a user-specific gitignore file?

后端 未结 5 507
陌清茗
陌清茗 2020-11-28 23:44

I want to change the gitignore, but not everyone on the team wants these changes. How can a user have their own specific git ignore file?

5条回答
  •  甜味超标
    2020-11-29 00:37

    As indicated in Atlassian's .gitignore tutorial, you could also use your repo's /.git/info/exclude file that you can easily edit with any text editor. It works the same as .gitignore.

    I could easily ignore my intelliJ files, personal dockerfiles and stuff only I need to work with.

提交回复
热议问题