我的.gitignore
文件指示忽略该../../.aws/
目录:
$ cat .gitignore
coredumps/
../../.aws/
.*.sw*
*bak
*log
唉,这条指令被忽略了:
$ git status | head -6
# On branch main
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# ../../.aws/
# ../../.bash_history
我应该如何更改 my.gitignore
以便将 the ../../.aws/
will 从输出中排除git status
?