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

Re: Hyphens and hiding core commands

From
MTMichael S. Tsirkin <mst@mellanox.co.il>
Date
Nov 29, 2006, 07:14 UTC
Message-ID
<20061129071449.GH5061@mellanox.co.il>
In-Reply-To
<7vu00k3pao.fsf@assigned-by-dhcp.cox.net>
Show 7 quoted lines
> +------------------------------------------------
> +$ cat >~/.gitconfig
> +[user]
> +	name = Your Name Comes Here
> +	email = you@yourdomain.example.com
> +^D
> +------------------------------------------------

I used to use the ^D convention when explaining git to beginners and I noticed some people try to cut-and-paste it.

So the following might be a better way to put it:

+$ cat <<EOF >~/.gitconfig +[user] + name = Your Name Comes Here + email = you@yourdomain.example.com +EOF

Previous: Junio C Hamano
Message 3 of 3 in “Re: Hyphens and hiding core commands”
  1. Theodore TsoNov 28, 2006
  2. Junio C HamanoNov 28, 2006
  3. Michael S. TsirkinNov 29, 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.