私はこの .gitignore ファイルを持っています:
# Ignore wordpress
/wordpress/
/wordpress/*
# Except the wp-content folder
!/wordpress/wp-content/
!/wordpress/wp-content/*
しかし、wp-content で何かを変更すると、その変更は git status にリストされません。
git add wordpress/wp-content
.gitignore contains /wordpress/ という警告がまだ表示されるため、変更を追加しません。どうしてこれなの?
追加
私はOSxでgit 1.7.3.2を実行しています