Исправление aol, (текущая версия) :
The pattern foo/ will match a directory foo and paths underneath it, but will not match a regular file or a symbolic link foo (this is consistent with the way how pathspec works in general in Git)
A trailing «/**» matches everything inside. For example, «abc/**» matches all files inside directory «abc», relative to the location of the .gitignore file, with infinite depth.
формулировки, канеш, моё увожение…
Исходная версия aol, :
The pattern foo/ will match a directory foo and paths underneath it, but will not match a regular file or a symbolic link foo (this is consistent with the way how pathspec works in general in Git)