Partially Attended

an irregularly updated blog by Ian Mulvany

blog posts about command line

shortcuts that I use for the git command line

I use git a lot, it’s pretty complicated, and it has a lot of command line optoins that I can never remember. I’ve copied a couple of shortcuts from the web, and here are two that I use a lot. These are presented in the form of fish shell scripts. function gl git log –graph –abbrev-commit –decorate –date=relative –format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)’ –all end ... (more)