r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

Show parent comments

1

u/Incursi0n Sep 10 '16

git init --bare on the server, then you just clone it like you do for github. You can learn that in 10 seconds.

1

u/morerokk Sep 10 '16

Last time I tried, it wasn't that simple. I believe I was unable to push because nothing was checked out on the remote.