git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rob Sanheim" <rsanheim@gmail.com>
To: git@vger.kernel.org
Subject: alias g to git in .gitconfig?
Date: Thu, 2 Oct 2008 22:51:31 -0400	[thread overview]
Message-ID: <fc113d400810021951hf95ff35qb1ccb4af45a71abe@mail.gmail.com> (raw)

This is pretty trivial, but I'm a lazy typist.

Is it possible to alias 'g' to git via git config, instead of via
bash?  If I do a plain bash alias then none of the nice autocompletion
from git-contrib work with 'g'.

- Rob

             reply	other threads:[~2008-10-03  2:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03  2:51 Rob Sanheim [this message]
2008-10-03  3:10 ` alias g to git in .gitconfig? Shawn O. Pearce
2008-10-03 15:25   ` Rob Sanheim
2008-10-03 16:35     ` [FYI PATCH] bash completion: alias 'g' to 'git' with completion Thomas Rast
2008-10-03 19:34       ` [PATCH] bash: remove fetch, push, pull dashed form leftovers SZEDER Gábor
2008-10-03 20:13         ` Thomas Rast

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc113d400810021951hf95ff35qb1ccb4af45a71abe@mail.gmail.com \
    --to=rsanheim@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).