I'm a Git beginner. I'm reading and trying out this Git tutorial. And I have also read the Git branching model here and this question on SO.
But I'm still confusing how I should use Git properly for my case below:
- I have a project
MyProject01
. I will be working on it from a PC, says PC01 - Another developer sitting on another PC, says PC02, will clone the project
MyProject01
(git clone, git pull, etc.) and then will be working on it. - Then, those two will be synchronized (probably
git push
to PC01, but I'm not sure of that). For example, I'm working onfile.prg
on PC1 to writefunction 1
while another developer is working on the same filefile.prg
on PC2 to writefunction 2
. Those will be merged to get the final outcome -file.prg
withfunction 1
andfunction 2
done.
I'm not using Git as full version control, i.e., the version will be controlled by myself such as MyProject01
, MyProject02
, etc. Git will be using (git init
) for each individual directory. I just want to use Git as multi-developer environment for my Visual FoxPro desktop application development.
According to my case, do I need to create a bare repository cloned from repo01
as described in the tutorial; repo01
would be MyProject01
?
I think I'm not suitable with the branching model described above. Please guide me to the right way.
I'm using the Git installer for Windows.
[Edit]
My primary goal is to use Git as Source Control similar to: