Skip to content

Instantly share code, notes, and snippets.

@otaviolarrosa
Created August 22, 2018 13:29
Show Gist options
  • Save otaviolarrosa/aac7b0211c38f89e00c8945d6febd982 to your computer and use it in GitHub Desktop.
Save otaviolarrosa/aac7b0211c38f89e00c8945d6febd982 to your computer and use it in GitHub Desktop.
My Personal Git files - .gitconfig
# This is Git's per-user configuration file.
[alias]
st = status -s
co = checkout
p = pull
po = push origin
cob = checkout -b
rd = rebase develop
b = branch
l = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[credential]
helper = manager
[diff]
tool = p4merge
[difftool "p4merge"]
path = C:\\Program Files\\Perforce\\p4merge.exe
[merge]
tool = p4merge
[mergetool "p4merge"]
path = C:\\Program Files\\Perforce\\p4merge.exe
@otaviolarrosa
Copy link
Author

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