# Sync repository between NTB and WKS

1 messages from 2006-01-30 to 2006-01-30. Participants: Jiri Netolicky.
Thread: https://gitlist.dev/t/3192

## Jiri Netolicky, 2006-01-30 16:13

Subject: Sync repository between NTB and WKS
Message-ID: <43DE3B2B.2080303@epos.cd.cz>
URL: https://gitlist.dev/e/43DE3B2B.2080303%40epos.cd.cz

```
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

```
