{"id":1644,"date":"2013-04-15T23:39:09","date_gmt":"2013-04-15T19:39:09","guid":{"rendered":"http:\/\/nayarweb.com\/blog\/?p=1644"},"modified":"2013-04-16T00:18:08","modified_gmt":"2013-04-15T20:18:08","slug":"finally-succeeded-in-setting-up-a-git-server","status":"publish","type":"post","link":"https:\/\/nayarweb.com\/blog\/2013\/finally-succeeded-in-setting-up-a-git-server\/","title":{"rendered":"Finally Succeeded in Setting up a Git Server"},"content":{"rendered":"<p>Had a long time obsession with code versioning systems. Back in college times, I had seen the <a href=\"http:\/\/www.mybb.com\/get-involved\">MyBB<\/a> team work using SVN and Redmine. It was amazed by the workflow and issue tracking system: how each bug was reported and a developer would submit a patch to solve the issue.<\/p>\n<p>I had started to read about SVN but then everyone on the web started switching to Git. It made me kinda sad everyone was bashing SVN. Then i started looking into Git systems.<\/p>\n<p><a href=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/04\/snapshot11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/04\/snapshot11-300x168.png\" alt=\"Git in Eclipse\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-1648\" srcset=\"https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/04\/snapshot11-300x168.png 300w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/04\/snapshot11-1024x575.png 1024w, https:\/\/nayarweb.com\/blog\/wp-content\/uploads\/2013\/04\/snapshot11.png 1366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Setting up of the Git server<\/strong><br \/>\n&#8211; Making sure SSH server (openSHH) is installed.<br \/>\n&#8211; Created a new user &#8220;git&#8221; on my laptop<br \/>\n&#8211; Disallowed access to shell for the user &#8220;git&#8221; as it could be dangerous.<br \/>\n&#8211; Created a link to the TickVen.git folder inside the home directory of user git so that i won&#8217;t have to share the real path to the project with the public (security! \ud83d\ude09 )<br \/>\n&#8211; Opened port 22 on my router<br \/>\n&#8211; Done \ud83d\ude42<\/p>\n<p>I&#8217;m soo happy to be able to have done this. Now collaborative coding with my team mates would be hopefully much better and enjoyable. No need to go through the pain of manually merging codes. \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Had a long time obsession with code versioning systems. Back in college times, I had seen the MyBB team work using SVN and Redmine. It was amazed by the workflow and issue tracking system: how each bug was reported and a developer would submit a patch to solve the issue. I had started to read &hellip; <a href=\"https:\/\/nayarweb.com\/blog\/2013\/finally-succeeded-in-setting-up-a-git-server\/\" class=\"continue-reading\">Continue reading <span class=\"screen-reader-text\">Finally Succeeded in Setting up a Git Server<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[152,159,149,61,158],"class_list":["post-1644","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-coding","tag-eclipse","tag-git","tag-linux","tag-opensuse"],"_links":{"self":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/1644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/comments?post=1644"}],"version-history":[{"count":5,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/1644\/revisions"}],"predecessor-version":[{"id":1653,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/1644\/revisions\/1653"}],"wp:attachment":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/media?parent=1644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/categories?post=1644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/tags?post=1644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}