Git Ignores and Maven targets

后端 未结 5 1886
予麋鹿
予麋鹿 2020-11-30 17:35

Anyone know if it is possible to ignore all the instances of a particular directory in a file structure managed by git.

I\'m looking to exclude all the \'target\' f

5条回答
  •  伪装坚强ぢ
    2020-11-30 18:03

    I ignore all classes residing in target folder from git. add following line in open .gitignore file:

    /.class

    OR

    */target/**

    It is working perfectly for me. try it.

提交回复
热议问题