blob: 35bbdffabd273a1307a1386b63ecec6f538b2c45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[user]
name = Tom van der Lee
[alias]
glog = log --graph --decorate --all --pretty=format:%C(yellow)%h%C(bold\\ red)%d%C(reset)\\ %s%n%C(green)%ar\\ %C(reset)by\\ %C(bold\\ blue)%an%n
sup = "!f() { git branch --set-upstream-to=$@; }; f"
ca = commit -am
st = status -s
siu = "!f() { git submodule init && git submodule update; }; f"
ls = ls-files
serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && echo git push $1{,:master}; }; f"
[push]
default = simple
|