This is the command git-sync that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
git-sync - Sync local branch with remote branch
SYNOPSIS
git sync [ <remote> <branch> ]
DESCRIPTION
Sync local branch with <remote>/<branch>.
When <remote> and <branch> are not specified on the command line, upstream of local branch
will be used by default.
All changes and untracked files and directories will be removed.
EXAMPLES
Sync local branch with its upstream
$ git sync
Sync local branch with origin/master
$ git sync origin master
Use git-sync online using onworks.net services