I think you want to work with your colleague without using the main repository as an average hand. I would add the repository of others as remote and create a branch that tracks its topic thread. Another person can then do the same, but set up his local thread as his upstream branch.
Sort of
- git remote file add coworker: //// coorkersComputer / path / to / repo
- git fetch employee
- git checkout --track coorker / topic-branch
Here you can pull changes from your colleague. If you want to rebuild things, you can always create local branches and reinstall them on the topic branch.
Your colleague should set up your computer in the same way:
- git remote file addRepo: //// ..
- git fetch yourRepo
- git branch --set-upstream-branch-branch yourRepo / topic-branch
The good thing is that you can work in complete isolation without causing any problems to other colleagues. You have already configured each other as remotes, so 1. you need only once. 2 and 3. is required only when you want to set up a new theme to work.
source share