Skip to contentSkip to conversation

Sync repository between NTB and WKS

DISCUSSION Jiri Netolicky 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Have a nice day.

Can you advise me what is the best way
to synchronize repositories between workstation and notebook? Now before I left office, I synchronize repository between workstation and notebook(blue-nb) as any other files by rsync:

rsync -avr . blue-nb:work/source/portal

and when I coming into the office
by the same way sync from NTB to WKS. It works fine but I have not to forget syncing even if I work on different sources.

Today I try on WKS repository

git-pull ssh://blue-nb/~netolish/work/source/portal

but the new branch I create on NTB during weekend (and which is actual on NTB) is merged into actual master branch. I hope that the new branch will be created on WKS repository. What I am doing wrong?.
This is my first experiments with git, so sorry for beginners questions.

Jiri Netolicky aka Netolish