I'm tracking my home folder using a git repository. After doing git status
, I'm getting this:
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# workspace/
no changes added to commit (use "git add" and/or "git commit -a")
Why that line is shown? Here is my .gitignore
file:
*
!*/
!.vim/plugin/*
!.vim/doc/*
I had to add the !*/
to track the changes inside .vim/plugin
for example, as I saw here.