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

Re: [PATCH] git.c: Re-introduce sane error messages on missing commands.

From
Junio C Hamano <junkio@cox.net>
Date
Jun 28, 2006, 09:53 UTC
Message-ID
<7vr71938t4.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0606281118330.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 7 quoted lines
> Try this:
>
> $ mkdir 5
> $ cd 5
> $ git-init-db
> $ rm .git/config # yes, really.
> $ git abc
Thanks for trying to help, but not really.

: gitster; mkdir 5 : gitster; cd 5 : gitster; git-init-db defaulting to local storage area : gitster; rm .git/config : gitster; ~/git-master/bin/git abc git: 'abc' is not a git-command

The most commonly used git commands are:
    add            Add files to the index file
    apply          Apply patch on a git index file and a work
...
    tag            Create a tag object signed with GPG
    verify-tag     Check the GPG signature of tag
(use 'git help -a' to get a list of all installed git commands)
: gitster; ~/git-master/bin/git --version
git version 1.4.1.rc1.g8096
: gitster; ls -ld ~/.gitrc ~/.gitconfig ~/.git-config
: gitster; ls -ld ~/.gitrc ~/.gitconfig ~/.git-config
ls: /home/junio/.gitrc: No such file or directory
ls: /home/junio/.gitconfig: No such file or directory
ls: /home/junio/.git-config: No such file or directory
: gitster; : confused...
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 9 in “git.c: Re-introduce sane error messages on missing commands.”
  1. git.c: Re-introduce sane error messages on missing commands.Andreas Ericsson, Jun 27, 2006
  2. Junio C HamanoJun 27, 2006
  3. Andreas EricssonJun 28, 2006
  4. Johannes SchindelinJun 28, 2006
  5. Junio C HamanoJun 28, 2006
  6. Johannes SchindelinJun 28, 2006
  7. Andreas EricssonJun 28, 2006
  8. Marco RoelandJun 28, 2006
  9. Christopher FaylorJun 28, 2006

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.