-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
28 lines (28 loc) · 786 Bytes
/
gitconfig
File metadata and controls
28 lines (28 loc) · 786 Bytes
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
[user]
name = Laurence Billingham
email = laurence.billingham@example.com
[core]
editor = vim
excludesfile = /home/laurence/.gitignore_global
[alias]
br = branch
brecent = "!git branch --sort=-committerdate | head -n 5"
co = checkout
comain = checkout main
comaster = checkout master
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
commits-since-last-tag = "!git lg $(git describe --tags --abbrev=0)..HEAD"
pomain = pull origin main
pomaster = pull origin master
res = restore
show-tags-dates = log --tags --simplify-by-decoration --pretty='format:%ai %d'
st = status
sw = switch
swc = switch -C
[help]
autocorrect = 5
[pull]
ff = only
# rebase = false
# rebase = true