-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
78 lines (78 loc) · 2.41 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[user]
name = Carles Cufi
email = [email protected]
signingkey = 51AC9DF9005833956CFF98FC40FE518ADD7768E6
[core]
protectNTFS = false
longpaths = true
untrackedCache = true
fsmonitor = true
#autocrlf = input
#filemode = false
[index]
version = 4
[push]
default = simple
[pull]
rebase = false
[color]
ui = true
[diff]
tool = bc4
[credential]
helper = store
[alias]
logc = log --graph --decorate --date=relative --pretty=format:\"%C(auto)%h - %C(red)%<(4,trunc)%an %C(blue)%<(24,trunc)%ad : %C(reset)%s\"
lod = log --graph --decorate --date=local --pretty=format:\"%h - %an, %ad : %s\"
logol = log --date=local --pretty=format:\"%h - %an, %ad : %s\"
lodl = log --graph --decorate --first-parent --date=local --pretty=format:\"%h - %an, %ad : %s\"
lol = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
loll = log --graph --decorate --oneline --first-parent
hd = rev-parse HEAD
co = checkout
cp = cherry-pick
rh = reset --hard
ri = rebase -i
rc = rebase --continue
ci = commit
cia = commit -a
ca = commit --amend
cane = commit --amend --no-edit
cf = log -m -1 --name-only --pretty="format:"
fm = fetch -v origin master:master
st = status --short --branch
rhm = reset --hard upstream/master
rem = remote -v
remso = remote show origin
b = branch -vv
br = branch -vv -a
cfg = config -l
mb = merge-base
isshainbranch = "!f() { git merge-base --is-ancestor $1 HEAD; }; f"
isancestor = merge-base --is-ancestor # ancestor descendant
stat = status --porcelain --branch
st = status
sta = status --porcelain --branch --ignored
nuke = clean -ffdx
sm = submodule status
sminit = submodule init
smup = submodule update
smnuke = submodule deinit -f .
cl = clean -fdx -e stack/import/* -e bin/git_hooks
sb = show-branch --sha1-name
prr = remote prune origin
dellb = branch --delete
delrb = push origin --delete
cred = config --global credential.helper 'cache --timeout=3600'
grek = "!f() { git grep $1 -- '**Kconfig*'; }; f"
tgc = -c gc.reflogExpire=now -c gc.reflogExpireUnreachable=now -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now gc
[github]
user = carlescufi
token = invalid
[init]
defaultBranch = main
[url "ssh://[email protected]"]
insteadOf = https://github.com
#[credential]
# helper = "!f() { printf \"%s\\n\" \"username=carlescufi\" \"password=$GH_TOKEN\"; };f"