git include只包含某些文件

.gitignore:

*

# include
!.gitignore

!a.txt
!dir2
posted @ 2020-08-28 12:29  Ajanuw  阅读(449)  评论(0编辑  收藏  举报