forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
39 lines (33 loc) · 990 Bytes
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[alias]
co = checkout
last = log -1 -p HEAD
# List aliases
aliases = config --get-regexp alias
# List contributors with number of commits
contributors = shortlog --summary --numbered
# Amend the currently staged files to the latest commit
amend = commit --amend --reuse-message=HEAD
# Show verbose output about tags, branches or remotes
tags = tag -l
branches = branch -a
remotes = remote -v
# Add Signed-Off by to the commit message
commit = commit --signoff
[user]
name = Bassam Khouri
email = [email protected]
[core]
excludesfile = ${HOME}/.gitignore_global
autocrlf = input
# hooksPath = ${HOME}/.git-all/hooks
# [difftool "sourcetree"]
# cmd = opendiff \"$LOCAL\" \"$REMOTE\"
# path =
# [mergetool "sourcetree"]
# cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
# trustExitCode = true
[branch]
autoSetupRebase = local
autoSetupMerge = always
[pull]
rebase = false