SORU
26 ŞUBAT 2011, CUMARTESİ


Nasıl gıt alt modüllerin kurtulmak izlenmeyen durum için?

İzlenmeyen içerik kurtulmak için görünmüyor olabilir Gıt bu alt modüller. git status verimleri çalışan:

# On branch master
# Changes not staged for commit:
#   (use "git add ..." to update what will be committed)
#   (use "git checkout -- ..." to discard changes in working directory)
#   (commit or discard the untracked or modified content in submodules)
#
#   modified:   bundle/snipmate (untracked content)
#   modified:   bundle/surround (untracked content)
#   modified:   bundle/trailing-whitespace (untracked content)
#   modified:   bundle/zencoding (untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")

--ignore-submodules parametre gizler bu mesajları ekleyerek; ama eğer daha uygun, çekirdek gibi, bir şekilde bu kir kurtulmak için bir yolu varsa merak ediyorum.

Teşekkürler!

CEVAP
8 EYLÜL 2012, CUMARTESİ


Bu blog post her bir iş buldum. .gitmodules dosyası girişleri her biri için ignore = dirty seçeneği ekleyerek.

[submodule "zen-coding-gedit3"]
    path = zen-coding-gedit3
    url = git://github.com/leafac/zen-coding-gedit3.git
    ignore = dirty

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

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Darren Kitchen

    Darren Kitch

    3 EKİM 2011
  • Eric Anthony

    Eric Anthony

    13 AĞUSTOS 2011
  • WhtButterflyLiz

    WhtButterfly

    14 NİSAN 2008