When I work with other people, I often like to take a look at what they've done so far or I would like to let them know what I've been doing.
Let me note that in such a state, the code may be unusable in a way that a new feature disturbs something and I am just trying to figure out how to resolve this, so the commit itself might not be “finished”.
Is there any efficient way of giving them a possibility to view my commits without having to create a new remote branch?
A Remote branch has severe disadvantages for this task, because
- I will very likely change significant parts of the git history with
git rebase --interactive
or do amend committing - Others should not be able to interfere with my work
- I neither want to remove old branches (in this case I am not even permitted to do so) nor inflate the remote git history with a new temporary branch every time I want to show others my changes.