C'è un modo per configurare Git per rimuovere il legno morto dal comando git status
? Al posto di questa mostruosità:È possibile configurare 'git status' in modo che non fornisca il testo della guida?
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: README
#
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: FB.pm
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# Foo.pl
Voglio solo le informazioni chiave:
# On branch master
# Changes to be committed:
# new file: README
#
# Changed but not updated:
# modified: FB.pm
#
# Untracked files:
# Foo.pl
Questo sembra promettente, ma non ha funzionato per me. La modifica della configurazione appare quando eseguo 'git config -l' ma non ha alcun effetto sull'output di' git status'. Sto eseguendo git versione 1.6.1.2 su cygwin, nel caso che importi. – FMc
Non funziona qui con 1.6.4.4, neanche. Inoltre, 'man git-config' non menziona affatto questa impostazione. – Bombe
Non l'ho trovato nella documentazione, l'ho trovato nel codice sorgente. È stato aggiunto in v1.6.4.2-270-gedf563f. Nessun documento è stato aggiornato per riflettere questa modifica: http://github.com/git/git/commit/edf563fbaa2ab50734db4a61e9092f25fbb5a417 – Dustin