Hacker News new | ask | show | jobs
by r00k 6136 days ago
I've read a number of times that you should never rebase commits that other people may have fetched already. Is this a possible danger here, or will git only rebase your strictly-local commits?
1 comments

It will only rebase your local commits.
That doesn't necessarily help you. If somebody has pulled from you, you'll rebase your supposedly local commits and screw over the person who pulled from you.

Whenever you're rebasing, you should make sure you understand how git works and what the consequences are.