git中忽略指定文件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/caomage/article/details/82844233

git忽略指定文件

使用git bash生成.gitignore

语句:touch .gitignore

在.gitignore中指定需要忽略的文件夹或者文件

  1. 文件夹(/文件夹名/)
  2. 文件(文件名)

猜你喜欢

转载自blog.csdn.net/caomage/article/details/82844233