TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Honey I Squashed the Commits

9 pointsby denniskubesalmost 13 years ago

2 comments

latchkeyalmost 13 years ago
In summary, use cherry-pick to apply specific commit diff's (by hash) to a new branch. Makes perfect sense. I also use this technique all the time with github projects where I just want a bug fix or two from someone else's fork.
评论 #4416779 未加载
评论 #4415604 未加载
natedubalmost 13 years ago
Recovering seemingly lost commits is really important skill to have when working with git. However, it is infinitely easier with the git reflog command.
评论 #4415837 未加载