-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
41 lines (41 loc) · 1.03 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
[user]
name = Alex Bykov
email = [email protected]
[core]
editor = vim
[color]
ui = true
interactive = true
branch = true
status = true
diff = true
[alias]
a = add -A
amend = commit --amend --reuse-message=HEAD
br = branch
co = checkout
ci = commit
d = diff
go = "!f() { git checkout -b \"$1\" 2> /dev/null || git checkout \"$1\"; }; f"
l = log --graph --decorate --abbrev-commit --pretty=\"format:%C(yellow)%h %C(blue)%ad%C(auto)%d %C(reset)%s %C(green)%aN\"
s = status
serve = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
staaash = stash --all
staash = stash --include-untracked
standup = !git log --since yesterday --author $(git config user.email) --pretty=short
stsh = stash --keep-index
brd = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
[color "branch"]
current = yellow
local = yellow
remote = green
[color "status"]
changed = yellow
untracked = red
added = green
[diff]
renamelimit = 0
[pack]
threads = 0
[pull]
rebase = true