Advertisement
pjerky

Git Config Example

Oct 27th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.68 KB | None | 0 0
  1. [user]
  2.     name = Mr. Example
  3.     email = mrexample@simple.com
  4. [alias]
  5.     co = checkout
  6.     br = branch
  7.     ci = commit
  8.     st = status
  9.     unstage = reset HEAD --
  10.     last = log -1 HEAD
  11.     hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
  12.     type = cat-file -t
  13.     dump = cat-file -p
  14.     pom = pull origin master
  15.     po = push origin
  16.     cm = checkout master
  17. [core]
  18.     excludesfile = /Users/mrexample/.gitignore
  19. [push]
  20.     default = simple
  21. [difftool "sourcetree"]
  22.     cmd = opendiff \"$LOCAL\" \"$REMOTE\"
  23.     path =
  24. [mergetool "sourcetree"]
  25.     cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
  26.     trustExitCode = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement