Skip to content

Instantly share code, notes, and snippets.

@berngp
Created January 17, 2012 23:54
Show Gist options
  • Save berngp/1629864 to your computer and use it in GitHub Desktop.
Save berngp/1629864 to your computer and use it in GitHub Desktop.
Git local config with alias
[user]
name = some dude
email = [email protected]
signingkey = CAFE
[merge]
keepBackup = false
tool = p4merge
[mergetool "p4merge"]
cmd = p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
keepTemporaries = false
trustExitCode = false
keepBackup = false
[diff]
#external = p4diff
#external = meldDiff
[github]
user = urGithubUser
token = ToKEN
[color]
ui = true
diff = auto
branch = auto
status = auto
[alias]
st = status
d = diff --color-words
ci = commit -v
cia = commit -v -a
ca = commit -a -m
co = checkout -b
cp = cherry-pick
l = log
ll = log -p
b = branch
pom = push origin master
ads = submodule add
rem = remote add origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment