Home  >  Q&A  >  body text

各位大大,请问有什么办法可以实现git版本库中的文件不更新到本地仓库中?

现在的项目中,我们想要一些项目的压缩文件在版本库中存在,但是本地仓库更新文件的时候能够忽略这些文件,请问大家可有什么办法解决这个问题?

怪我咯怪我咯2731 days ago539

reply all(3)I'll reply

  • 天蓬老师

    天蓬老师2017-04-28 09:08:26

    http://briancoyner.github.io/blog/2013/06/05/git-sparse-checkout/

    Visual inspection in Chinese is called "sparse detection":

    http://m.oschina.net/blog/185289

    reply
    0
  • PHP中文网

    PHP中文网2017-04-28 09:08:26

    .gitignore

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-28 09:08:26

    Create a .gitignore file in the project root directory

    reply
    0
  • Cancelreply