Script to clone a repository to a remote server via ssh
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.textile
git-remote-clone

README.textile

git remote clone

The ability to clone a repository to another server is nice to have,
but git doesn’t provide it out of the box.

This script allows one to push a local repository to a non-existing
remote one, or in other words, remotely clone a repository.

The repository on the remote side will be a bare repository (not
containing a working directory).

Usage:
git-remote-clone some.server.tld Path/to/projectfolder

The “projectfolder” should not exist and not contain the .git suffix.