-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
24 lines (24 loc) · 1.02 KB
/
Copy path.gitconfig
File metadata and controls
24 lines (24 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[user]
name = Ty Bolt
email = nil
[alias]
co = checkout
ci = commit
log = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
pop = stash pop
dev = checkout develop
stg = checkout staging
mas = checkout master
sin = push --force-with-lease
satan = push --force
undo = reset --soft HEAD^
who = shortlog -sn --no-merges
churn = !git log --format=format: --name-only --since='1 year ago' | sort | uniq -c | sort -nr | head -20
bugs = !git log -i -E --grep='fix|bug|broken' --name-only --format='' | sort | uniq -c | sort -nr | head -20
pulse = !git log --format='%ad' --date=format:'%Y-%m' | sort | uniq -c
fires = !git log --oneline --since='1 year ago' | grep -iE 'revert|hotfix|emergency|rollback'
save = "!f() { git add -A; git commit -m \"${1:-updates}\" || true; git push -u origin HEAD; }; f"
[gpg]
format = ssh
[commit]
gpgsign = true