Skip to content

Instantly share code, notes, and snippets.

@gyenabubakar
Last active May 26, 2022 10:26
Show Gist options
  • Save gyenabubakar/fd0c4962964baa089aa6a2158d7d056d to your computer and use it in GitHub Desktop.
Save gyenabubakar/fd0c4962964baa089aa6a2158d7d056d to your computer and use it in GitHub Desktop.
My Git Configuration
[core]
editor = \"C:\\Users\\WALLEL\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" --wait
autocrlf = true
[user]
name = Gyen Abubakar
email = <email>
[diff]
tool = p4merge
[difftool "VSCode"]
cmd = "code --wait --diff $LOCAL $REMOTE"
[alias]
loggraph = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
yesterday = log --oneline --after=yesterday
ss = status -s
a = add .
today = log --oneline --all --since="12am"
upstream = push -u origin
st = status
[difftool "p4merge"]
path = C:\\Program Files\\Perforce\\p4merge.exe
[merge]
tool = p4merge
[mergetool "p4merge"]
path = C:\\Program Files\\Perforce\\p4merge.exe
[mergetool]
keepBackup = false
@gyenabubakar
Copy link
Author

New aliases and recommendations are welcome. ;)

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