{"id":573,"date":"2019-10-09T08:56:00","date_gmt":"2019-10-09T08:56:00","guid":{"rendered":"https:\/\/2020.innosystec.de\/?p=573"},"modified":"2020-12-17T09:00:16","modified_gmt":"2020-12-17T09:00:16","slug":"life-hack-fuer-softwareentwickler","status":"publish","type":"post","link":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/","title":{"rendered":"Life-Hack f\u00fcr Softwareentwickler."},"content":{"rendered":"\n<p><strong>Diese drei Codes erleichtern das Leben.<\/strong><\/p>\n\n\n\n<p>Heute zeigen wir euch, wie man in kurzer Zeit viele Commits oder Branches zwischen zwei Repositories austauschen kann.<\/p>\n\n\n\n<p>Der Vorschlag lautet: Git Bundles. Die beiden Repositories m\u00fcssen dabei nicht untereinander erreichbar sein. Praktisch, wenn aufgrund von Zugriffsbeschr\u00e4nkungen \u2013 zum Beispiel beim Kunden aus Sicherheitsgr\u00fcnden \u2013 oder durch einen Netzwerkausfall, ein direkter Pull nicht m\u00f6glich ist. Die Bundles k\u00f6nnen so nach Erstellung beispielsweise per Email ausgetauscht werden.<\/p>\n\n\n\n<p><strong>So funktioniert das Konvertieren eure Commits oder Branches zu einem Bundle:<\/strong><\/p>\n\n\n\n<p>Der Befehl<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git bundle create  ..<\/pre>\n\n\n\n<p>erstellt ein Bundle mit dem angegebenen Namen. Enthalten sind alle Commits vom Start-Hash bis zum Ziel-Hash. Ein Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git bundle create sample.master.bundle 60c3d5834324ca6863cde231ee4d4eb5d4583282..master<\/pre>\n\n\n\n<p><strong>Wichtig<\/strong>: Die beiden Punkte nicht weglassen, sonst wird alles bis zum angegebenen Hash-Wert ins Bundle gepackt und es wird unter Umst\u00e4nden sehr gro\u00df.<\/p>\n\n\n\n<p>In dem oben genannten Beispiel w\u00e4ren alle Commits ab dem Hash 60c3d5834324ca6863cde231ee4d4eb5d4583282 bis zum aktuellen Master in ein Bundle gepackt. Btw: Das Bundle befindet sich im Verzeichnis, in dem der Git-Befehl ausgef\u00fchrt wurde.<\/p>\n\n\n\n<p>Mit folgendem Befehl kann auch der gesamte Master-Branch in das Bundle gepackt werden. Hierf\u00fcr einfach den Start-Hash weglassen:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git bundle create sample.master.bundle master<\/pre>\n\n\n\n<p><strong>Und so importiert ihr die \u00c4nderungen aus einem Bundle:<\/strong><\/p>\n\n\n\n<p>Vor dem Import sollte der Einfachheit halber, das Bundle in das Ziel Git Repository kopiert werden. Dadurch m\u00fcssen keine Pfade angegeben werden. Zuerst sollte nun gepr\u00fcft werden, ob das Bundle g\u00fcltig und passend zum aktuellen Repo ist:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git bundle verify sample.master.bundle<\/pre>\n\n\n\n<p>Als Ergebnis erh\u00e4lt man zum Beispiel folgende Ausgabe:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">The bundle contains this ref:\n\nc14778c005226ae401f3e12c42a68772b155beef refs\/heads\/master\n\nThe bundle requires this ref:\n\n7003ade7b17fb2d57f431022681c40fbaca69f46\n\nsample.master.bundle is okay<\/pre>\n\n\n\n<p>Die Meldung \u201e<strong><em>sample.master.bundle is okay<\/em><\/strong>\u201c best\u00e4tigt euch, dass alles funktioniert hat und es importiert werden kann. Der Befehl daf\u00fcr lautet:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git pull sample.master.bundle master<\/pre>\n\n\n\n<p>Die Syntax hierf\u00fcr:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git pull  <\/pre>\n\n\n\n<p>Ben\u00f6tigt ihr nicht alle Features aus dem Bundle, k\u00f6nnt ihr es auch zuerst in ein eigenes Repo klonen:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git clone <\/pre>\n\n\n\n<p>Anschlie\u00dfend k\u00f6nnen aus diesem z. B. per cherry-pick die gew\u00fcnschten Commits entnommen werden.<\/p>\n\n\n\n<p>Now you know.<\/p>\n\n\n\n<p>Have fun. Enjoy coding.<br>Your INNO coding team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Diese drei Codes erleichtern das Leben. Heute zeigen wir euch, wie man in kurzer Zeit viele Commits oder Branches zwischen zwei Repositories austauschen kann. Der Vorschlag lautet: Git Bundles. Die [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-573","post","type-post","status-publish","format-standard","hentry","category-unkategorisiert"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Life-Hack f\u00fcr Softwareentwickler. &#8211; INNOSYSTEC GmbH<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Life-Hack f\u00fcr Softwareentwickler. &#8211; INNOSYSTEC GmbH\" \/>\n<meta property=\"og:description\" content=\"Diese drei Codes erleichtern das Leben. Heute zeigen wir euch, wie man in kurzer Zeit viele Commits oder Branches zwischen zwei Repositories austauschen kann. Der Vorschlag lautet: Git Bundles. Die [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/\" \/>\n<meta property=\"og:site_name\" content=\"INNOSYSTEC GmbH\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/INNOSYSTECGmbH\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-09T08:56:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-17T09:00:16+00:00\" \/>\n<meta name=\"author\" content=\"w3\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"w3\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/\"},\"author\":{\"name\":\"w3\",\"@id\":\"https:\\\/\\\/innosystec.de\\\/#\\\/schema\\\/person\\\/ec4a25292c357bcb3202696c6976cae1\"},\"headline\":\"Life-Hack f\u00fcr Softwareentwickler.\",\"datePublished\":\"2019-10-09T08:56:00+00:00\",\"dateModified\":\"2020-12-17T09:00:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/\"},\"wordCount\":328,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/innosystec.de\\\/#organization\"},\"articleSection\":[\"Unkategorisiert\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/\",\"url\":\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/\",\"name\":\"Life-Hack f\u00fcr Softwareentwickler. &#8211; INNOSYSTEC GmbH\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innosystec.de\\\/#website\"},\"datePublished\":\"2019-10-09T08:56:00+00:00\",\"dateModified\":\"2020-12-17T09:00:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innosystec.de\\\/de\\\/blog\\\/life-hack-fuer-softwareentwickler\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innosystec.de\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Life-Hack f\u00fcr Softwareentwickler.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innosystec.de\\\/#website\",\"url\":\"https:\\\/\\\/innosystec.de\\\/\",\"name\":\"INNOSYSTEC GmbH\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/innosystec.de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/innosystec.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innosystec.de\\\/#organization\",\"name\":\"INNOSYSTEC GmbH\",\"url\":\"https:\\\/\\\/innosystec.de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/innosystec.de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.innosystec.de\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.innosystec.de\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo.svg\",\"width\":1,\"height\":1,\"caption\":\"INNOSYSTEC GmbH\"},\"image\":{\"@id\":\"https:\\\/\\\/innosystec.de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/INNOSYSTECGmbH\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/innosystec\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/innosystec.de\\\/#\\\/schema\\\/person\\\/ec4a25292c357bcb3202696c6976cae1\",\"name\":\"w3\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4700db5dfb8049e827291b223a31aaa5977edf9aa60f4527c6aae87814d721b4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4700db5dfb8049e827291b223a31aaa5977edf9aa60f4527c6aae87814d721b4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4700db5dfb8049e827291b223a31aaa5977edf9aa60f4527c6aae87814d721b4?s=96&d=mm&r=g\",\"caption\":\"w3\"},\"sameAs\":[\"http:\\\/\\\/localhost:8888\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Life-Hack f\u00fcr Softwareentwickler. &#8211; INNOSYSTEC GmbH","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/","og_locale":"de_DE","og_type":"article","og_title":"Life-Hack f\u00fcr Softwareentwickler. &#8211; INNOSYSTEC GmbH","og_description":"Diese drei Codes erleichtern das Leben. Heute zeigen wir euch, wie man in kurzer Zeit viele Commits oder Branches zwischen zwei Repositories austauschen kann. Der Vorschlag lautet: Git Bundles. Die [&hellip;]","og_url":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/","og_site_name":"INNOSYSTEC GmbH","article_publisher":"https:\/\/www.facebook.com\/INNOSYSTECGmbH\/","article_published_time":"2019-10-09T08:56:00+00:00","article_modified_time":"2020-12-17T09:00:16+00:00","author":"w3","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"w3","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/#article","isPartOf":{"@id":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/"},"author":{"name":"w3","@id":"https:\/\/innosystec.de\/#\/schema\/person\/ec4a25292c357bcb3202696c6976cae1"},"headline":"Life-Hack f\u00fcr Softwareentwickler.","datePublished":"2019-10-09T08:56:00+00:00","dateModified":"2020-12-17T09:00:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/"},"wordCount":328,"commentCount":0,"publisher":{"@id":"https:\/\/innosystec.de\/#organization"},"articleSection":["Unkategorisiert"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/","url":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/","name":"Life-Hack f\u00fcr Softwareentwickler. &#8211; INNOSYSTEC GmbH","isPartOf":{"@id":"https:\/\/innosystec.de\/#website"},"datePublished":"2019-10-09T08:56:00+00:00","dateModified":"2020-12-17T09:00:16+00:00","breadcrumb":{"@id":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.innosystec.de\/de\/blog\/life-hack-fuer-softwareentwickler\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/innosystec.de\/de\/"},{"@type":"ListItem","position":2,"name":"Life-Hack f\u00fcr Softwareentwickler."}]},{"@type":"WebSite","@id":"https:\/\/innosystec.de\/#website","url":"https:\/\/innosystec.de\/","name":"INNOSYSTEC GmbH","description":"","publisher":{"@id":"https:\/\/innosystec.de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/innosystec.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/innosystec.de\/#organization","name":"INNOSYSTEC GmbH","url":"https:\/\/innosystec.de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/innosystec.de\/#\/schema\/logo\/image\/","url":"https:\/\/www.innosystec.de\/wp-content\/uploads\/2026\/05\/logo.svg","contentUrl":"https:\/\/www.innosystec.de\/wp-content\/uploads\/2026\/05\/logo.svg","width":1,"height":1,"caption":"INNOSYSTEC GmbH"},"image":{"@id":"https:\/\/innosystec.de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/INNOSYSTECGmbH\/","https:\/\/www.linkedin.com\/company\/innosystec\/"]},{"@type":"Person","@id":"https:\/\/innosystec.de\/#\/schema\/person\/ec4a25292c357bcb3202696c6976cae1","name":"w3","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/4700db5dfb8049e827291b223a31aaa5977edf9aa60f4527c6aae87814d721b4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4700db5dfb8049e827291b223a31aaa5977edf9aa60f4527c6aae87814d721b4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4700db5dfb8049e827291b223a31aaa5977edf9aa60f4527c6aae87814d721b4?s=96&d=mm&r=g","caption":"w3"},"sameAs":["http:\/\/localhost:8888"]}]}},"_links":{"self":[{"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/comments?post=573"}],"version-history":[{"count":1,"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":574,"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/posts\/573\/revisions\/574"}],"wp:attachment":[{"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/media?parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/categories?post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innosystec.de\/de\/wp-json\/wp\/v2\/tags?post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}