Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.gitignoreファイルに追加しました:
.gitignore
dwsync.xml
ただし、これはdwsync.xml他のディレクトリ内の他のファイルを無視するのではなく、ルート ディレクトリのみを無視します。どうすればこれを解決できますか?
あなたはこう言います:
他のフォルダーに変更が加えられるとdwsync.xml、その変更は [コミットされていない変更] に表示されます。
これは、dwsync.xmlファイルが実際にリポジトリの一部であることを意味します。この場合.gitignoreは効果がありません。に記載されているファイルは、リポジトリにないファイルに.gitignore のみ適用され、「追跡されていないファイル」として表示したくないファイルにのみ適用されます。