I am working on some git-VSS interop and the way I have approached syncing my git master with SS is
git checkout vss_branch
ss get . -W -R -Q -Y$SSNAME
git checkout master
git rebase vss_branch master
And I am not sure about the last part, the way I read it, that contradicts the advice mentioned here
The basic logic here is that the "vss_branch" is always just a straight up copy of whatever is currently in VSS, "ss get . -W -R -Q -Y$SSNAME" gets everything out of source safe as a write-able copy.
I treat master as "my build branch" so I "git merge" my dev branch onto that when I feel the code is "build ready"
However after reading this advice I feel I am doing it the wrong way round.
The reason I currently prefer "git rebase" instead of "git merge" is git merge threw up a load of conflicts whereas the rebase does not..but this seems very much like a "that one seems to work, so I will use that one" approach. I am worried that in reality git rebase would lead to repeating the same merge conflict over and over if I change a section of code repeatedly through several commits and some one else makes a small change to the same section of code.
I appreciate any help to get/keep me on the right track