From: "Roddie Grant" <>
Sent: Thursday, June 13, 2013 12:11 PM
Where there is a small team, say 3 or 4 developers, is it acceptable practice to pull direct from each other's repositories?

There is no special restriction on this (pull or fetch) to share branches between each other. The usual social niceties should apply (Please and Thank you and all that ;-)

You can't push to a checked out branch though, as that is likely to be a conflict (there could be changes in the checked out work tree, even if the push was a fast forward) at the destination/remote end. In such cases (fighting to push first) the central bare repo has benefits.

Or is it considered better (strongly advised?) to have an overall bare repository to which commits are pushed, and then pulled by each of the developers?

It is still worth having a central team repo (bare) so that you have implicit backup and can agree on it being the 'blessed repo' that has all the usual benefits.


Roddie Grant

You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to