{"id":410,"date":"2015-07-09T14:20:35","date_gmt":"2015-07-09T12:20:35","guid":{"rendered":"https:\/\/olkn.myvnc.com\/?p=410"},"modified":"2015-07-09T14:20:35","modified_gmt":"2015-07-09T12:20:35","slug":"create-git-repo-and-connect-using-eclipse","status":"publish","type":"post","link":"https:\/\/olkn.myvnc.com\/?p=410","title":{"rendered":"create git repo and connect using eclipse"},"content":{"rendered":"<p>In order to keep my software developments in line and keep access also from remote sides I decided to use git on one of my servers and use eclipse for the development itself. So to add or create a new repository I follow this steps:<\/p>\n<p>&#8211; create new directory: mkdir &lt;repo&gt;<\/p>\n<p>For convenience I use a naming as: repo-&lt;section&gt;-&lt;subsection&gt; (e.g. repo-php-project)<\/p>\n<p>&#8211; change to the newly craeted directory: cd &lt;repo&gt;<\/p>\n<p>&#8211; initailize a bare git repo: git init &#8211;bare<\/p>\n<p>This will fill in a repo with the administrative stuff inside but without any further details. Those will come with the first clone\/commit.<\/p>\n<p>&#8211; clone the empty repo from within eclipse using the import function: Project perspective -&gt; Import -&gt; Git repository -&gt; New Project<\/p>\n<p>This will create a new project within eclipse based on the newly created git repo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to keep my software developments in line and keep access also from remote sides I decided to use git on one of my servers and use eclipse for the development itself. So to add or create a new repository I follow this steps: &#8211; create new directory: mkdir &lt;repo&gt; For convenience I use &hellip; <a href=\"https:\/\/olkn.myvnc.com\/?p=410\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">create git repo and connect using eclipse<\/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":[10],"tags":[35,46,51,139,140,73,79,141,116],"class_list":["post-410","post","type-post","status-publish","format-standard","hentry","category-sniplets","tag-administration","tag-config","tag-debian","tag-eclipse","tag-git","tag-install","tag-linux","tag-repository","tag-server"],"_links":{"self":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts\/410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=410"}],"version-history":[{"count":1,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts\/410\/revisions"}],"predecessor-version":[{"id":411,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts\/410\/revisions\/411"}],"wp:attachment":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}