SORU
26 NİSAN 2011, Salı


İtmek mümkün tüm git bir uzaktan kumanda ile komut?

Yapmak varken:

git push origin --all && git push nodester --all && git push duostack --all

Bir şekilde sadece tek bir komut ile bunu yapmak için var mı?

Teşekkür ederim :)

CEVAP
26 NİSAN 2011, Salı


all kendi adına çeşitli repo URL: uzaktan oluşturun

git remote add all origin-host:path/proj.git
git remote set-url --add all nodester-host:path/proj.git
git remote set-url --add all duostack-host:path/proj.git

git push all --all o zaman.


Bu .git/config şekilde görünecektir:

  [remote "all"]
  url = origin-host:path/proj.git
  url = nodester-host:path/proj.git
  url = duostack-host:path/proj.git

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:
Git

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Artorius FullPower

    Artorius Ful

    29 Temmuz 2007
  • Kai Moosmann

    Kai Moosmann

    5 Temmuz 2006
  • mobilenet.cz

    mobilenet.cz

    26 NİSAN 2008