Thread (13 messages) flat view 13 messages, 5 authors, 2016-06-15

Re: What is missing from Git v2.0

From: Felipe Contreras <hidden>
Date: 2016-06-15 23:00:45

Sebastian Schuberth wrote:
On 21.04.2014 00:41, Felipe Contreras wrote:
quoted
= Default aliases =

Every single version control tool out there has default aliases (e.g.
co = checkout) except Git.

Every argument against default aliases was basically refuted, yet my
patches went nowhere. And the users still expect these aliases.
+1 about having default aliases in general, and I'd also add these:

br = branch
cp = cherry-pick
dt = difftool
mt = mergetool
I have these aliases as well, except br => b, and cp => pi. 'br' is probably
better, but not sure as 'cp' which can be confusing.
BTW, in my experience people tend to stick to predefined aliases instead 
of redefining them to something (completely) different. This means that 
having default aliases will very likely enable one to use the same short 
commands on one's colleague's PC (instead of you running into issues 
because the same alias was defined to a different command).

If we don't standardize this now people will come up with their own 
definitions [1] [2] (and many others if you just search GitHub) which 
are again likely to differ (slightly), hindering interoperability.

[1] https://github.com/github/msysgit/pull/27
[2] https://github.com/sschuberth/dev-scripts/blob/master/git/.gitconfig
FTR color.ui = true is not needed any more, also hopefully mergetool.prompt =
false wouldn't be either [1].

[1] http://article.gmane.org/gmane.comp.version-control.git/246601

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help