git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: bug with 'cl' as alias for 'clone'

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
May 26, 2010, 16:39 UTC
Message-ID
<AANLkTikVStq4KCp94GplKl0TwANKYlzMmp3IZrwvP6fU@mail.gmail.com>
In-Reply-To
<E4D176D9-E1D2-4C8F-8F18-11060E49ED80@gmail.com>
On Wed, May 26, 2010 at 2:48 PM, James Tucker <jftucker@gmail.com> wrote:
Show 19 quoted lines
> I've been running the following aliases for a long time now:
>
> alias g='git' # in bash
>
> % cat ~/.gitconfig | grep clone
>  cl = clone
>
> This appears to still be calling the right UI command:
>
> % g cl
> You must specify a repository to clone.
> ...
>
> But when I try to actually clone a repository:
>
> % ls rdbi
> ls: rdbi: No such file or directory
> % g cl http://github.com/erikh/rdbi.git
> fatal: cannot set work tree after initialization

There is something with alias and work tree setup that I should have addressed it with my series. I suspect that is the cause of this. Unfortunately I have been too lazy these days. I'll try to work on it again maybe this weekend.

-- 
Duy
Previous: James Tucker
Message 4 of 4 in “bug with 'cl' as alias for 'clone'”
  1. James TuckerMay 26, 2010
  2. Ramkumar RamachandraMay 26, 2010
  3. James TuckerMay 26, 2010
  4. Nguyen Thai Ngoc DuyMay 26, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.