Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Nimitz14
on Dec 18, 2017
|
parent
|
context
|
favorite
| on:
Oh shit, git: Getting myself out of bad situations
I'd say it changes your code to match that of a branch in your local copy of the repo.
CJefferson
on Dec 18, 2017
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: