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

  • LIVESTRONG.COM

    LIVESTRONG.C

    5 EKİM 2005
  • Music EuroDance 2

    Music EuroDa

    12 Mayıs 2011
  • Truc Minh

    Truc Minh

    23 Ocak 2011