DEV Community

Discussion on: When to make a Git Commit

Collapse
 
cyan33 profile image
Chang Yan

But make sure to be careful enough when you use interactive rebase on a branch where you and your teammates work on at the same time. Because your force push may affect others code base.

Collapse
 
rlipscombe profile image
Roger Lipscombe

Our convention is that if the branch has your initials in the name (e.g. 'rl-new-nifty-feature'), then it's yours, and you're the only one allowed to rebase it. Other branches must not be rebased.