• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (deprecated)
You are here: Home / Archives for git log

git log

Git Editor Roulette

Last updated on July 4, 2025 by Sal Ferrarello

A question came up about setting the Git editor to a bash function, which I could not figure out. I was, however, able to set the Git editor to a bash script. As a proof of concept, here is a bash script to randomly choose an editor (nano or vim) when using Git.

Filed Under: Computing, Dev Tips, Solution Tagged With: command line, Git, git log

Improve Git Log

Last updated on June 30, 2023 by Sal Ferrarello

By default the output of ‘git log’ is not nearly as useful as it could be. By creating a new command ‘git lg’ that uses some of the options available to ‘git log’, we create a much more useful command.

Filed Under: Computing, Programming, Solution Tagged With: Git, git alias, git log, gitconfig

Copyright © 2026 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in