Wizards of the Web
  • Home

Sort

fount of useless knowledge

CLI

Sort git Config

As I was updating some gitflow config today, I noticed that my .gitconfig is a little messy. Like many things, it’s grown organically and I’ve just never thought about tidying it up. It doesn’t have to be organized, but neat and tidy files always make things more fun. Sorting .gitconfig was a bit more challenging than I was expecting. A naive sort mixes sections and values. $ cat ~/.gitconfig | sort

  • CJ Harries
    CJ Harries
CJ Harries 25 February 2018 • 4 min read
Wizards of the Web © 2018
Latest Posts Hugo Casper3 by Jonathan Janssens