SORU
27 EKİM 2009, Salı


Nasıl Not Defteri (ya da diğer) kullanın msysgit ile?

Nasıl Not Defteri (veya vim dışında başka editör) kullanın msysgit ile?

Boşuna aşağıdakilerin tümünü denedim:

git config --global core.editor C:\Program Files\Notepad  \notepad  .exe

git config --global core.editor "C:\Program Files\Notepad  \notepad  .exe"

git config --global core.editor C:/Program Files/Notepad  /notepad  .exe

git config --global core.editor C:\\Program Files\\Notepad  \\notepad  .exe

CEVAP
21 Mart 2010, Pazar


git config --global core.editor "'C:/Program Files/Notepad  /notepad  .exe' -multiInst -notabbar -nosession -noPlugin"

Ya da, 64-bit Windows ve 32-bit Not Defteri yükleyin :

git config --global core.editor "'C:/Program Files (x86)/Notepad  /notepad  .exe' -multiInst -notabbar -nosession -noPlugin"

Veya, aşağıdaki 32-bit veya 64-bit Windows üzerinde komut satırında verilebilir. Not Defteri konumu çeker .kayıt defterinden exe ve yapılandırmak gıt otomatik olarak kullanmak için:

FOR /F "usebackq tokens=2*" %A IN (`REG QUERY "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\notepad  .exe" /ve`) DO git config --global core.editor "'%B' -multiInst -notabbar -nosession -noPlugin"

Yukarıdaki yere bir isterseniz .YARASA ya .CMD dosyası %%%%%%B B değiştirmeniz gerekir

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

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Kai Moosmann

    Kai Moosmann

    5 Temmuz 2006
  • KendrickLamarVEVO

    KendrickLama

    9 ŞUBAT 2011
  • spederson7

    spederson7

    17 Temmuz 2006