How to keep directory in git but not track its changes?

This question already has an answer here:

  • How can I add an empty directory to a Git repository? 28 answers

  • You can explicitly add a file by git add. Add it using this command so it will be added and won't be tracked by other users when committing since it's in .gitignore

    链接地址: http://www.djcxy.com/p/7884.html

    上一篇: 在Windows上使用msysgit设置Git服务器

    下一篇: 如何在git中保留目录但不跟踪其更改?