|
|
|
|
|
by bpatrianakos
4869 days ago
|
|
The implementation may be simple but I think what gets people is building a mental model of all your different remotes and branches. If you're working on a single machine this is simple. Add in another remote and it's still simple but adds complexity. Add in 3 remotes, 3 development machiness, and oh say 3 branches and the mental model is hard to juggle. I develop on 3 different machines and even after about 6 months of this setup which is very close to the example I gave I still mess things up because I don't think to check what branch I'm on when I switch machines and pull from the wrong one and other little mistakes like that. Branching really is a very simple thing to understand but what I think gets people in the end is building a mental model of one's own setup and creating good habits like always running `git status` when sitting down at a new machine to be sure you're on the branch you think you are, always pushing to your main remote before switching machines, and making sure to push to the correct branch in that remote, and so on. |
|