Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I can use
git status to see a verbose listing (also git status --verbose) and
git status --short to see a short listing.

How I can I change
git status --short be the default instead of the current default of git status --verbose.

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

See this related stack overflow answer - http://stackoverflow.com/questions/2927672/how-can-i-get-git-status-to-always-use-short-format

It looks like the best option would be making an alias, so you could type git s to get the short listing instead of git status --short and then just use git status for the --verbose listing.

git config --global alias.s 'status --short'
share|improve this answer
    
Other people mentioned making a shell script called gits that executed git status --short; I guess that would save you one keystroke :P –  paulrehkugler May 8 '12 at 2:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.