0
は、私たちが上演および/または変更されたファイルを見てみましょう:Gitチェックアウト - いくつかのファイルが選択されたファイル(複数可)をリセットしていないダブルダッシュ
$git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .gitattributes
modified: .gitignore
no changes added to commit (use "git add" and/or "git commit -a")
はのは、変更をロールバックしようとしてみましょう:最初に.gitattributes
で始まります:
15:52:22/ $git checkout -- .gitattributes
15:52:40/$git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
modified: .gitattributes
modified: .gitignore
ではありませんでしたか? –