Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr3548 :: Make a custom Git command

Make Git subcommands with shell scripts and Git rev-parse

<< First, < Previous, , Latest >>

Hosted by Klaatu on 2022-03-09 is flagged as Clean and is released under a CC-BY-SA license.
git. (Be the first).

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:19:37

Version Control.

This is an open series in which Hacker Public Radio Listeners can share their knowledge and experience of version or revision control systems such as Bazaar, Mercurial, Subversion, CVS and Git.

How to make your own Git subcommands with shell scripts, and then how to pass arguments to them with git rev-parse.

For a real-world example of Git in scripts and hooks, see Git-portal.

The joke site Klaatu mentions in the episode is git-man-page-generator. It's a joke site. Do not attempt to run these commands. However, it could be fun inspiration on what Git command you could make next!


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?