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

What if you pushed your feature branch and then need to fix something in that branch later? How do you handle this case as you shouldn't rebase a pushed branch?



It's fine to force push to a remote branch if it's a personal branch, that is, no one else is working on it but you.

(Or it's fine if you've previously discussed with your team the implications of force pushing to shared branches, and they're okay with that because you all know what you're doing.)




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

Search: