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

Re: Using '--help' for aliases

From
Samuel Lijin <sxlijin@gmail.com>
Date
Jun 22, 2017, 05:39 UTC
Message-ID
<CAJZjrdXYqmQuxrCuayy2zcwPkR5Gq56caurR+jO107MFrGspBA@mail.gmail.com>
In-Reply-To
<1498072442.32360.20.camel@gmail.com>

You could also just make the alias a bash function that does git help checkout when you pass the --help flag to the alias.

Previous: Kaartic SivaraamNext: brian m. carlson
Message 4 of 5 in “Using '--help' for aliases”
  1. Kaartic SivaraamJun 21, 2017
  2. Jeff KingJun 21, 2017
  3. Kaartic SivaraamJun 21, 2017
  4. Samuel LijinJun 22, 2017
  5. brian m. carlsonJun 24, 2017

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.