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.