SORU
22 Mart 2010, PAZARTESİ


Git-svn: & oluştur yeni bir şube/etiket basma?

Sonra klonlama bir SVN deposuna kullanarak git-svn ile -s seçenek (git svn clone http://server/repo -s), nasıl oluşturmak bir şube veya etiket ve itti ilgili şube/tag dizinde depo dcommiting?

Eğer gıt foobar şube yerel olarak oluşturmak için kullanmak için olsaydı örneğin; (**5) nasıl git-svn varoluşturunsunucu (http://server/repo/branches/foobar) Şubesi?

Git 1.5.5.6 kullanıyorum.


Lütfen Dikkat:

Aşağıda kabul gören bir yöntemGit 1.5.5.6 ile çalışmıyorgit svn branch yöntem olarak yok. Hala svn ile çalışma çözümlüyor doğrudan alakası yok bunun için bir çözüm arıyorum.

CEVAP
26 Mart 2010, Cuma


Bu işin cesur ayrıntıları okuyabilirsiniz tutorial, ama işin özü aslında şu:

$ git svn branch -m "Topic branch" my_topic            # Create SVN branch called "my_topic"
$ git checkout --track -b my-topic remotes/my_topic    # Create the Git branch for "my_topic"
# Hack hack hack...
$ git svn dcommit --dry-run    # Make sure you're committing to the right SVN branch
$ git svn dcommit              # Commit changes to "my_topic" branch in SVN

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

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Official Android Tips

    Official And

    23 EYLÜL 2009
  • Curso Online Gratuito

    Curso Online

    4 Aralık 2011
  • POGProductionz

    POGProductio

    27 NİSAN 2012