git checkout --origin/
时间: 2023-10-01 11:12:18 浏览: 151
git-book.pdf
This command is invalid.
`--origin` is not a valid branch name. It is a flag used to specify the remote repository from which you want to fetch changes.
`git checkout <branch-name>` is used to switch to a different branch in your local repository.
`git checkout -- <file>` is used to discard changes in a specific file and revert it back to the last committed version.
阅读全文