Hacker News new | ask | show | jobs
by inigyou 4 days ago
if you have ssh access to a server, setup is as easy as

    ssh user@host
    mkdir myproject
    git init --bare myproject
Done.

The remote URL is user@host:myproject (relative to user home dir) or user@host:/home/user/myproject (absolute path)

1 comments

That works for private repositories, but public facing ones require a little more than that.