-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
27 lines (27 loc) · 1.04 KB
/
.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
[push]
default = matching
[color]
ui = auto
[user]
name = Ben Hays
email = ben@kajabi.com
[core]
editor = atom -w
excludesfile = ~/.gitignore_global
[alias]
st = status
co = checkout
c = commit -v
br = branch
brl = branch --list
ls = ls-files
lsd = ls-files --deleted
rmd = !git rm `git ls-files --deleted`
lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an%d%Creset %s %Cgreen(%cr)%Creset' --date=relative
pb = "!git push origin \"$(git rev-parse --abbrev-ref HEAD)\""
pbf = "!git push -f origin \"$(git rev-parse --abbrev-ref HEAD)\""
up = "!git pull --rebase origin \"$(git rev-parse --abbrev-ref HEAD)\""
pr = "!open \"$(git remote -v | grep origin | grep push | cut -f 2 | cut -d \" \" -f 1 | sed -e \"s|git@\\(.*\\):\\(.*\\).git|https://\\1/\\2|\")/pull/new/$(git rev-parse --abbrev-ref HEAD)\""
hub = "!open \"$(git remote -v | grep origin | grep push | cut -f 2 | cut -d \" \" -f 1 | sed -e \"s|git@\\(.*\\):\\(.*\\).git|https://\\1/\\2|\")/tree/$(git rev-parse --abbrev-ref HEAD)\""
[credential]
helper = osxkeychain