CodeSync will Sync your git folders to or from a local directory and a remote machine.
pip install codesync
-p PROJECT, --project PROJECT
The name of your local git project, stored under your
default path. Default: /Users/nmagnezi/git/<project>
-d {to,from}, --direction {to,from}
Sync Direction
-i IP, --ip IP IP Address for SSH connection
-f FOLDER, --folder FOLDER
Remote git folder. Default: /opt/stack/
-u USER, --user USER Username for ssh connection. Default: stack
codesync -p octavia -d to -i 10.35.6.107 -f /my/path -u blah
These are steps performed by CodeSync:
- Validate your node has rsync installed.
- Use rsync to sync the delta between source and destination.