Skip to content

Instantly share code, notes, and snippets.

@tucq88
Created September 23, 2014 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tucq88/522ff84504a73583b714 to your computer and use it in GitHub Desktop.
Save tucq88/522ff84504a73583b714 to your computer and use it in GitHub Desktop.
Workflow - GitConfig (Windows)
[user]
email = tucq88@gmail.com
name = Tucq
[color]
ui = auto
diff = true
status = true
branch = true
interactive = true
[merge]
tool = tortoise
[mergetool "tortoise"]
cmd = "TortoiseMerge.exe" -base:"$BASE" -theirs:"$REMOTE" -mine:"$LOCAL" -merged:"$MERGED"
[alias]
ci = commit
st = status
last = log --pretty=format:"%C(yellow)%h%x09%Creset%an%x09%x09%s" --decorate -10
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --all
graph-more = log --graph --all --format=format:'%C(bold yellow)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)- %an%C(reset)' --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment