← Back to context Comment by CJefferson 8 years ago Quick quiz, what does 'git checkout x/y' do? I am aware of users hitting at least 3 interpretations. 2 comments CJefferson Reply Nimitz14 8 years ago I'd say it changes your code to match that of a branch in your local copy of the repo. CJefferson 8 years ago It resets the file x/y, or checks out branch y of remote x, or checks out local branch x/y. I've had confused users manage to create al of these cases, and git is very unhelpful in explaining the difference between the three cases.
Nimitz14 8 years ago I'd say it changes your code to match that of a branch in your local copy of the repo. CJefferson 8 years ago It resets the file x/y, or checks out branch y of remote x, or checks out local branch x/y. I've had confused users manage to create al of these cases, and git is very unhelpful in explaining the difference between the three cases.
CJefferson 8 years ago It resets the file x/y, or checks out branch y of remote x, or checks out local branch x/y. I've had confused users manage to create al of these cases, and git is very unhelpful in explaining the difference between the three cases.
I'd say it changes your code to match that of a branch in your local copy of the repo.
It resets the file x/y, or checks out branch y of remote x, or checks out local branch x/y. I've had confused users manage to create al of these cases, and git is very unhelpful in explaining the difference between the three cases.