を削除し、私が取得:同じファイルが両方の人跡未踏のように記載されているとのGitリポジトリに<code>git status</code>を実行
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: path/to/file1.sql
deleted: path/to/file2.sql
deleted: path/to/file3.sql
Untracked files:
(use "git add <file>..." to include in what will be committed)
path/to/file1.sql
path/to/file2.sql
path/to/file3.sql
no changes added to commit (use "git add" and/or "git commit -a")
他のすべてのファイルは大丈夫です。 私は既にのリセット、チェックアウトなどを試みましたが、再びというリポジトリを複製しました(私たちは集中サーバを使用しています)。問題を解決するものはありませんが、Windowsを使用している特定のユーザーのみが問題を解決します。 この問題はLinuxでは発生しません。
追加情報:
git diff
が出力を示していません。- 私は既に
core.autocrlf
をfalseに設定しようとしました。
単に変更されたものとして表示され、削除されたものではなく、同時に追跡されないものとして示される。私はここでケーシングの問題を疑う。パスは本当に同じですか、あるいは大文字と小文字の違いはありますか? – Vampire
あなたの.gitignoreと、 'git log-path/to/file1.sql path/to/file2.sql path/to/file3.sql'の出力を表示してください。 –
これは、作業ディレクトリを変更した後、またはブランチをチェックアウトした直後/リポジトリのクローン作成? –