可能性の重複:
Ignoring directories in Git repos on Windowsは.gitignoreフォルダの内容
私のウェブアプリは、次のディレクトリレイアウトを持っています
myapp/
.gitignore
.git/
...
static/
mytest.txt
fgs.ico
ledgerware/
static/
mytest.txt
fgs.ico
...
私は既存のmyappのを編集したいのですがgit pushを実行すると、myapp/ledgerware/staticフォルダ内のすべてのファイルが無視されますが、myapp/staticではなくフォルダ。誰かがこれで私を助けることができますか?
参照[この回答](http://stackoverflow.com/q/343646/1947535)と[gitのドキュメント](http://git-scm.com/docs/gitignore)。 –