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

  • Michelle Phan

    Michelle Pha

    18 Temmuz 2006
  • newport83

    newport83

    19 HAZİRAN 2006
  • Tech4Geeks

    Tech4Geeks

    8 Ocak 2012