我有两个目录:src和projects. 我想阻止自己跑步,git ...除非我特别在里面src或projects. 这可能吗?
src
projects
git ...
command-line shell git
command-line ×1
git ×1
shell ×1