Skip to content

Instantly share code, notes, and snippets.

@laribee
Created March 12, 2017 06:51
Show Gist options
  • Save laribee/57862ff4ee51d3118c13ec6d01a63fdb to your computer and use it in GitHub Desktop.
Save laribee/57862ff4ee51d3118c13ec6d01a63fdb to your computer and use it in GitHub Desktop.
Customize Git
#!/bin/bash
git config --global alias.lg \
”log --color --graph \
--pretty=format:’%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit”
git lg
git lg -p
git clone https://github.com/nerdnoir/dockerize-node.git
@nashjain
Copy link

nashjain commented Mar 12, 2017

git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

git lg
git lg -p

git clone https://github.com/nerdnoir/dockerize-node.git

@laribee
Copy link
Author

laribee commented Mar 12, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment