Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR3548: Make a custom Git command

Hosted by Klaatu on 2022-03-09 00:00:00
Download or Listen

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



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.