Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tjr225
on March 14, 2018
|
parent
|
context
|
favorite
| on:
Key Git Concepts Explained the Hard Way
until you accidentally use rebase to squash commits and accidentally squash the wrong commits...
iooi
on March 14, 2018
[–]
then just run `git reflog` to go back to the commit before you rebased
AlexCoventry
on March 14, 2018
|
parent
[–]
reflog is really out in the tail of git commands you ought to know to use it effectively, though. I'd say you're at much more than six commands at that point.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: