📜  git switch vs checkout - Shell-Bash 代码示例

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

代码示例1
git checkout has been separated into two to clarify its uses:
- git switch: used to change branches, as git checkout  does
- git restore:  used to reset files to certain revisions, as git checkout -- does