$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/lab_master
remotes/origin/master
$ git checkout lab_master
error: Your local changes to the following files would be overwritten by checkou t:
**project.properties**
Please, commit your changes or stash them before you can switch branches.
Aborting
lab_master ブランチのチェックアウトに失敗したのはなぜですか?
別の質問: 現在のファイルを別のブランチのファイルと比較できないのはなぜですか?
$ git diff project.properties -b lab_master
fatal: bad flag '-b' used after filename