# Probleme mit git clone https://github.com/shopware/development.git

**URL:** <https://forum.shopware.com/t/probleme-mit-git-clone-https-github-com-shopware-development-git/69436>\
**Category:** Installation / Einstieg\
**Created:** [8. September 2020 um 05:42 UTC](https://forum.shopware.com/t/probleme-mit-git-clone-https-github-com-shopware-development-git/69436 "2020-09-08T05:42:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MathiasWeisheit](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@MathiasWeisheit](https://forum.shopware.com/u/MathiasWeisheit)\
**Post date:** [8. September 2020 um 05:42 UTC](https://forum.shopware.com/t/probleme-mit-git-clone-https-github-com-shopware-development-git/69436/1 "2020-09-08T05:42:17Z")

</div>

Hi, bei mir bricht das Clonen des „Shopware 6 development template“ Repositories immer wieder ab:

Cloning into ‚development‘…  
remote: Enumerating objects: 93, done.  
remote: Counting objects: 100% (93/93), done.  
remote: Compressing objects: 100% (73/73), done.  
remote: Total 4572 (delta 39), reused 73 (delta 19), pack-reused 4479  
Receiving objects: 100% (4572/4572), 4.82 MiB | 834.00 KiB/s, done.  
Resolving deltas: 100% (2500/2500), done.  
fatal: BUG: initial ref transaction called with existing refs

Ich starte es in einem Ubunto Docker Container mit dem Befehl

git&nbsp;clone&nbsp;[https://github.com/shopware/development.git](https://github.com/shopware/development.git)&nbsp;

&nbsp;

Kennt das jemand?

---

<div class="post-metadata">

**Author:** ![MrAle](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MrAle](https://forum.shopware.com/u/MrAle)\
**Post date:** [8. September 2020 um 06:02 UTC](https://forum.shopware.com/t/probleme-mit-git-clone-https-github-com-shopware-development-git/69436/2 "2020-09-08T06:02:50Z")

</div>

Hi,

git --version?  
&nbsp;

Schonmal das Verzeichnis komplett gelöscht und nochmal neu probiert?

&nbsp;

Gruß

Alex

---

<div class="post-metadata">

**Author:** ![MathiasWeisheit](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@MathiasWeisheit](https://forum.shopware.com/u/MathiasWeisheit)\
**Post date:** [8. September 2020 um 06:09 UTC](https://forum.shopware.com/t/probleme-mit-git-clone-https-github-com-shopware-development-git/69436/3 "2020-09-08T06:09:19Z")

</div>

Ja. Habe das Image nun nochmal komplett neu aufgesetzt.Wieder das Problem.

So sollte das init Script aussehen: initNewShopware.sh

git&nbsp;clone&nbsp;[https://github.com/shopware/development.git](https://github.com/shopware/development.git)&nbsp;

cp&nbsp;-a&nbsp;/var/www/html/development/.&nbsp;/var/www/html/

cd&nbsp;/var/www/html&nbsp;&&&nbsp;rm&nbsp;-rf&nbsp;development

cd&nbsp;/var/www/html&nbsp;&&&nbsp;rm&nbsp;-rf&nbsp;platform

git&nbsp;clone&nbsp;[https://github.com/shopware/platform.git](https://github.com/shopware/platform.git)  
&nbsp;  
#try&nbsp;the&nbsp;orignal&nbsp;setup&nbsp;form&nbsp;shopware

cd&nbsp;/var/www/html&nbsp;&&&nbsp;php&nbsp;bin/setup

---

<div class="post-metadata">

**Author:** ![MathiasWeisheit](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@MathiasWeisheit](https://forum.shopware.com/u/MathiasWeisheit)\
**Post date:** [8. September 2020 um 09:05 UTC](https://forum.shopware.com/t/probleme-mit-git-clone-https-github-com-shopware-development-git/69436/4 "2020-09-08T09:05:52Z")

</div>

Es liegt an der git Version.

Aus dem normalen Ubuntu wird nur version 2.17 installiert.

RUN&nbsp; apt-get&nbsp;update&nbsp;\

&nbsp;&nbsp;&nbsp;&nbsp;&&&nbsp;apt-get&nbsp;install&nbsp;-y&nbsp;git&nbsp;\

&nbsp;&nbsp;&nbsp;&nbsp;&&&nbsp;rm&nbsp;-rf&nbsp;/var/lib/apt/lists/\*&nbsp;/var/cache/apt/\*

&nbsp;

Ich habe es so angepasst (#[How to Install the Latest Git Version on Ubuntu](https://itsfoss.com/install-git-ubuntu/)):add-apt-repository&nbsp;ppa:git-core/ppa

&nbsp;

RUN&nbsp;add-apt-repository&nbsp;ppa:git-core/ppa&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&&&nbsp;apt-get&nbsp;update&nbsp;\

&nbsp;&nbsp;&nbsp;&nbsp;&&&nbsp;apt-get&nbsp;install&nbsp;-y&nbsp;git&nbsp;\

&nbsp;&nbsp;&nbsp;&nbsp;&&&nbsp;rm&nbsp;-rf&nbsp;/var/lib/apt/lists/\*&nbsp;/var/cache/apt/\*

&nbsp;
