-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
43 lines (43 loc) · 1.15 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
# This is Git's per-user configuration file.
[user]
name = Charles Eckman
email = [email protected]
[alias]
pullall = "!f(){ git pull \"$@\" && git submodule update --init --recursive && git remote prune origin; }; f"
par = "!f(){ git pull --rebase=true \"$@\" && git submodule update --init --recursive; }; f"
co = checkout
br = branch
s = status
h = help
t = tag -s
tree = log --graph --format='format:%C(auto)%h %Cblue%G?%C(auto)%d %s' --all
tr = log --graph --format='format:%C(auto)%h %Cblue%G?%C(auto)%d %s' --all -n 20
df = diff --name-only
sha = rev-parse HEAD
reword = commit --amend
unshallow = "!f() { git remote set-branches origin '*' && git fetch --unshallow -v; }; f"
split = "!git reset HEAD~1 && git commit --interactive"
[status]
showUntrackedFiles = no
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[push]
default = current
[difftool]
prompt = false
[gui]
tabsize = 2
[core]
excludesfile = ~/.gitignore_global
[commit]
# gpgsign = true
[credential "https://source.developers.google.com"]
helper = gcloud.sh
[pull]
ff = only
[init]
defaultBranch = main
[maintenance]
repo = /home/cceckman/r/github.com/Tilde