Skip to content

Commit 32f8b56

Browse files
committed
modify: gitignore check
1 parent efbe144 commit 32f8b56

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_posts/tools/2017-07-05-git_shouce.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,12 @@ fd1/* 忽略目录 fd1 下的全部内容,但保留该目录
365365
!.gitignore
366366
```
367367

368+
* 检查gitignore对一个文件生效的规则
369+
370+
```shell
371+
$ git check-ignore -v app.class
372+
```
373+
368374
* 查看HEAD指针在各个分支的移动轨迹
369375

370376
```shell

0 commit comments

Comments
 (0)