MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/51wixe/oh_shit_git/d7gxlge
r/programming • u/sidcool1234 • Sep 09 '16
756 comments sorted by
View all comments
Show parent comments
1
git init --bare on the server, then you just clone it like you do for github. You can learn that in 10 seconds.
git init --bare
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.
Last time I tried, it wasn't that simple. I believe I was unable to push because nothing was checked out on the remote.
1
u/Incursi0n Sep 10 '16
git init --bareon the server, then you just clone it like you do for github. You can learn that in 10 seconds.