Hacker News new | past | comments | ask | show | jobs | submit login

Can someone guide me on how you'd normally sync feature branches?

If you have already pushed the feature branch, doesn't rebasing mess things up because the parent and hence the hash of the commits in that branch change?

My feature branches get outdated compared to the master and I'd like to sync them with master and make it merge-ready so I can create a pull request and someone can seamlessly merge it in.




Yes, I usually keep the feature branch on my machine and rebase master on to it every day. I would also like to know how to push it while continually rebasing it on top of master.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: