-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
43 lines (37 loc) · 1015 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
40
41
42
43
[user]
name = Bjørn Forsman
email = [email protected]
[core]
editor = vim
excludesfile = ~/.gitignore
[color]
ui = auto
[alias]
st = status
df = diff
ci = commit
co = checkout
wc = whatchanged
br = branch
f = fetch
a = add
l = log
lga = log --graph --pretty=oneline --abbrev-commit --decorate --all
rup = remote update -p
# Working with github pull-requests:
# - git pullify # just once
# - git fetch
# - git checkout pr/PULL_REQUEST_NUMBER
pullify = config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'
incoming = log ..@{u}
outgoing = log @{u}..
# "git serve" is from https://gist.github.com/datagrok/5080545
serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
# Moved to /etc/gitconfig for my NixOS machines.
# TODO: Suggest to upstream (git) to use $PATH lookup.
#[sendemail]
# smtpserver = /run/current-system/sw/bin/msmtp
[diff "word"]
textconv = antiword
[push]
default = simple