
{"id":14358,"date":"2013-10-27T16:56:54","date_gmt":"2013-10-27T16:56:54","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=14358"},"modified":"2013-10-27T16:56:54","modified_gmt":"2013-10-27T16:56:54","slug":"git-server-and-ssh-debian-howto","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/10\/27\/git-server-and-ssh-debian-howto\/","title":{"rendered":"Git server and SSH  Debian HOWTO"},"content":{"rendered":"<h4><u>the following content may not be accurate and detailed<\/u><\/h4>\n<pre style=\"width:70%;border-color:#ffb502;border-radius:3%;\">\nServer\n\n1. apt-get install git\n2. apt-get install  git-daemon-sysvinit\n3. mkdir  -p \/home\/user\/project.git\n4. cd \/home\/user\/project.git\n5. git init\n6. git config --global user.name \"Your Name\"\n7. git config --global user.email \"you@example.com\"\n8. git commit -a\n9. touch .git\/git-daemon-export-ok\n10. git config --bool core.bare true\n11. edit \/etc\/init.d\/git-daemon file and change to\n\"GIT_DAEMON_BASE_PATH=${GIT_DAEMON_BASE_PATH:-\/home\/user}\"\n12. service git-daemon restart\n\nClient\n\n1. git clone ssh:\/\/user@server\/home\/user\/project.git\n\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>the following content may not be accurate and detailed Server 1. apt-get install git 2. apt-get install git-daemon-sysvinit 3. mkdir -p \/home\/user\/project.git 4. cd \/home\/user\/project.git 5. git init 6. git config &#8211;global user.name &#8220;Your Name&#8221; 7. git config &#8211;global user.email &#8220;you@example.com&#8221; 8. git commit -a 9. touch .git\/git-daemon-export-ok 10. git config &#8211;bool core.bare true 11. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2013\/10\/27\/git-server-and-ssh-debian-howto\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Git server and SSH  Debian HOWTO&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[826,1477,1644],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14358"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=14358"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/14358\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=14358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=14358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=14358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}