![]() gitconfigs in the future (or alternatively version control your dotfiles, of course). And then save a copy to a Gist or other code snippet tool so you can copy & paste it into.Customize to your liking (different color choices, different line arrangements for the 2- and 3-line versions, etc.),.If you want to use these, my recommendation is to: ![]() It should be noted that this isn't meant as a end-all-be-all solution- it's a template for you to change, add to and fix up to your liking. Lg3-specific = log -graph -abbrev-commit -decorate -format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an %C(reset) %C(dim white)(committer: %cn )%C(reset)' ![]() Lg2-specific = log -graph -abbrev-commit -decorate -format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' Lg1-specific = log -graph -abbrev-commit -decorate -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(auto)%d%C(reset)' ![]() I have 3 aliases (and 4 alias-aliases for quick usage) that I normally throw in my ~/.gitconfig file: ![]()
0 Comments
Leave a Reply. |