If you read this SO answer , you will understand how Git to ignore files is system dependent.
gitignoremanpage clearly says that glob will be passed unchanged to the system library functionfnmatch
, Git (Unix Msysgit Windows)?
Windows "**" ( ).
, , *.rst , .gitignore. ( ) , .gitignore (. )