I have read that I should never rebase public branches. I'm unsure whether this also means that I shouldn't do git pull --rebase (of a feature branch where I collaborate with a colleague, and thus the branch is public). Can somebody please confirm that doing a git pull --rebase is fine in that case, and that the idea that a public branch should not be rebased is referring to not doing a rebase of the feature/origin onto a master?
To clarify again, I want confirmation that it's ok to do a pull --rebase, basically updating my local copy of the branch with the origin of it, rebasing my commits onto it.