-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
47 lines (45 loc) · 1.74 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[user]
#name = Liam Hutton
#email = lhutton@companieshouse.gov.uk
#name = Simon Readman
#email = sreadman@companieshouse.gov.uk
name = sbasile-ch
email = sbasile@companieshouse.gov.uk
[core]
editor = /usr/bin/vim
pager = cat
autocrlf = false
excludesfile = /Users/sbasile/.gitignore
[merge]
tool = vimdiff
[alias]
l = log --all --graph --pretty='format:%Cgreen%h%Creset %Cblue%ad%Creset%C(bold)%C(yellow)%d%Creset %C(white)%s%Creset %Cblue%an%Creset' --date=relative
show-graph = log --graph --abbrev-commit --pretty=oneline
l1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
l2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%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(dim white)- %an%C(reset)' --all
s = status
d = diff
f = commit -m 'found changes'
c = commands # use git-command https://github.com/hankchanocd/git-commands
co = checkout
cd = checkout develop
cm = checkout master
dc = diff --cached
b = branch
ba = branch -a
[http]
#proxy = http://wsproxy.internal.ch:8080
#proxy = http://websenseproxy.internal.ch:8080
postBuffer = 524288000
[https]
#proxy = http://websenseproxy.internal.ch:8080
[push]
default = simple
[remote "origin"]
prune = true
[url "https://sbasile-ch:240.................................ba50@github.com/"]
insteadOf = https://github.com/
[url "https://sbasile-ch:240.................................ba50@github.com/"]
insteadOf = git@github.com:
[url "git@github.com:"]
insteadOf = https://github.com/