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

  • H3Ctic (old channel)

    H3Ctic (old

    23 Mart 2011
  • KSI

    KSI

    25 Temmuz 2009
  • SRI International

    SRI Internat

    30 NİSAN 2008