NixOS configuration files

git: Improve generate script #1

open
opened by lesbian.skin

Currently the script always asks for a message, if the message is empty then it makes the generation the title.

The problem with this currently is that it means commit descriptions, like in 90218c6 are a pain to make, either requiring me to manually go through each step in the script or to amend the commit.

A good solution seems to be to write the important data into a file, use that file as a template for git commit using -t <file>, --template=<file>, and then open the visual editor.

Another option is to use multiple -ms but this feels like it would be clunkier and more restrictive.

sign up or login to add to the discussion
Labels

None yet.

Participants 1
AT URI
at://did:plc:ew3qowq4bsc67qohlxcbmsdb/sh.tangled.repo.issue/3lwn3iia3cp22