-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
41 lines (40 loc) · 1 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
[color]
# Also, auto
ui = true
[push]
default = simple
[alias]
forkdiff = !bash -c 'git diff $(git merge-base "$1" "$2") "$2" "${@: 3}" ' -
co = checkout
ci = commit
# --short --branch
st = status -sb
br = branch
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
cob = checkout -b
a = add -v -f
ad = add -v -f
cm = commit -m 'Bulk commit :fish:'
ca = commit -m 'Bulk commit :fish:' -a
pu = push -v
p = push -v
r = remote
R = remote -v
c = commit -m 'Bulk commit' -a
v = status -v
tags = tag -l
currentbranch = rev-parse --abbrev-ref HEAD
id = rev-parse --short HEAD
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
unstage = reset --
[user]
email = [email protected]
name = Chinggis6
[commit]
template = ~/.gitmessage
[core]
# GIT_EDITOR overrides it
editor = vim -p
excludesfile = ~/.gitignore
[github]
user = Chinggis6