Git Won't Un-Ignore a Directory

前端 未结 5 1976
星月不相逢
星月不相逢 2020-12-31 08:26

I\'d like to only track certain directories in git in a larger project, where most directories will be excluded and only a few will be tracked. So, I wanted to use

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 09:04

    To forcefully add folders that are ignored, use:

    git add -f my-ignored-folder
    

提交回复
热议问题