Thread (29 messages) 29 messages, 8 authors, 2016-08-11

Re: What's in git.git (stable)

flat view

From: Johannes Schindelin <hidden>
Date: 2016-08-11 19:48:06

Possibly related (same subject, not in this thread)

Hi,

On Fri, 15 Dec 2006, Nicolas Pitre wrote:
On Fri, 15 Dec 2006, Jakub Narebski wrote:
quoted
It would be nice to have some generic place in git config to specify
default options to git commands (at least for interactive shell). It
cannot be done using aliases. Perhaps defaults.<command> config variable?
I would say the alias facility has to be fixed then.

In bash you can alias "ls" to "ls -l" and it just works.
So, why not use bash aliases?

Frankly, what git aliases try to achieve is a little bit different from 
bash aliases. Bash knows exactly when a command is interactive, and has a 
clear advantage there. Git _cannot_ know.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help