port gp (one of my oldest pieces of configuration!) from a shell function to be defined right in gitconfig. This makes it portable with only the gitconfig file :)
getting all the escaping right was a pain. [[ is not valid in the git alias shell command so I had to re-work it a bit. Toughest part was figuring out a portable substring check. thanks https://unix.stackexchange.com/a/554680
port
gp
(one of my oldest pieces of configuration!) from a shell function to be defined right in gitconfig. This makes it portable with only the gitconfig file :)getting all the escaping right was a pain.
[[
is not valid in the git alias shell command so I had to re-work it a bit. Toughest part was figuring out a portable substring check. thanks https://unix.stackexchange.com/a/554680