Skip to content

Instantly share code, notes, and snippets.

@jsrois
Created April 20, 2017 13:25
Show Gist options
  • Save jsrois/76f36773f16eb9988df9eb2c4eddcdb3 to your computer and use it in GitHub Desktop.
Save jsrois/76f36773f16eb9988df9eb2c4eddcdb3 to your computer and use it in GitHub Desktop.
git configuration
[user]
name = Javier Sánchez Rois
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
edit-unmerged = "!f() { git diff --name-status --diff-filter=U | cut -f2 ; }; gedit `f`"
add-unmerged = "!f() { git diff --name-status --diff-filter=U | cut -f2 ; }; git add `f`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment