{"id":848,"date":"2015-12-04T10:46:17","date_gmt":"2015-12-04T09:46:17","guid":{"rendered":"http:\/\/webpiraten.de\/?p=848"},"modified":"2015-12-04T10:51:38","modified_gmt":"2015-12-04T09:51:38","slug":"existentes-git-repo-in-einen-bestehenden-ordner-mit-dateien-integrieren","status":"publish","type":"post","link":"https:\/\/webpiraten.de\/index.php\/versionierung\/existentes-git-repo-in-einen-bestehenden-ordner-mit-dateien-integrieren\/","title":{"rendered":"existentes GIT Repo in einen bestehenden Ordner (mit Dateien) integrieren"},"content":{"rendered":"<p>Um ein bestehendes GIT Repo in einen bestehenden Ordner, gef\u00fcllt mit Dateien, zu integrieren, kann  man wie folgt vorgehen:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/~ cd notemptydir\/\r\n\r\nnotemptydir\/~ git init\r\nnotemptydir\/~ git remote add origin PATH\/TO\/REPO\r\nnotemptydir\/~ git fetch\r\nnotemptydir\/~ git checkout -t origin\/master\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Um ein bestehendes GIT Repo in einen bestehenden Ordner, gef\u00fcllt mit Dateien, zu integrieren, kann man wie folgt vorgehen: \/~ cd notemptydir\/ notemptydir\/~ git init notemptydir\/~ git remote add origin PATH\/TO\/REPO notemptydir\/~ git fetch notemptydir\/~ git checkout -t origin\/master<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,41],"tags":[613,159,610,612,231,638,611,608,609,539,255],"class_list":["post-848","post","type-post","status-publish","format-standard","hentry","category-git","category-versionierung","tag-checkout","tag-dir","tag-empty","tag-fetch","tag-file","tag-git","tag-init","tag-integration","tag-not-empty","tag-remote","tag-repo"],"_links":{"self":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/comments?post=848"}],"version-history":[{"count":2,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/848\/revisions"}],"predecessor-version":[{"id":850,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/848\/revisions\/850"}],"wp:attachment":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/media?parent=848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/categories?post=848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/tags?post=848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}