Is there an ignore command for git like there is for svn?

后端 未结 11 2670
一个人的身影
一个人的身影 2020-12-23 00:21

I am a new user to git and I am starting a new project. I have a bunch of dot files that I would like to ignore. Is there an ignore command for git

11条回答
  •  猫巷女王i
    2020-12-23 00:56

    Create a file named .gitignore on the root of your repository. In this file you put the relative path to each file you wish to ignore in a single line. You can use the * wildcard.

提交回复
热议问题