Re: Hyphens and hiding core commands
- From
- Michael 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