DEV Community

Discussion on: How you can go wrong with git

Collapse
 
dalmo profile image
Dalmo Mendonça

Thanks. So if I understood correctly you advise to rebase from release->feature branch but not the other way around? Makes sense!

Thread Thread
 
adityasridhar profile image
Aditya Sridhar

Yes. The basic ground rule is, if your branch has any commit which is there in the remote repository, it is better to avoid rebase since rebase alters commit history. It's fine if one developer is working. But if multiple developers are working then it becomes an issue