-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
34 lines (33 loc) · 1.38 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
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Vyom Patel
email = vyom.patel@uwaterloo.ca
[status]
submodulesummary = 1
[alias]
su = submodule update --remote --merge --recursive --jobs=4
graph = log --all --graph --color=always --format=format:"%C(auto)%h%d%x20%s%x20%C(black)%C(bold)%cr%n%C(blue)%x09%an"
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ld = log --pretty=format:"%C(green)%h\\ %C(yellow)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
setupstream = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
prep = !sh -c \"echo \\\"GitHub Account:\\\"\" && read ACCOUNT && echo \"GitHub Repo Name:\" && read REPONAME && mkdir $REPONAME && cd $REPONAME && git init && touch README.md && git add . && git commit -m \"initial commit\" && git remote add origin git@github.com:$ACCOUNT/$REPONAME.git && git push origin master
[color]
ui = true
[core]
compression = 9
editor = vim
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = cache
[branch]
sort = -committerdate
[column]
ui = auto
[pager]
branch = false