📜  git checkout 文件名 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:37.299000             🧑  作者: Mango

代码示例1
git checkout README     # would normally discard uncommitted changes
                        # to the _file_ "README"
git checkout master     # would normally switch the working copy to
                        # the _branch_ "master"
git checkout -- master  # discard uncommitted changes to the _file_ "master"