-
Notifications
You must be signed in to change notification settings - Fork 2
/
git-config
25 lines (24 loc) · 906 Bytes
/
git-config
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 = " Ryan Lucas"
email = [email protected]
[alias]
co = checkout
ci = commit
unci = reset --soft HEAD^
stat = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
up = "!git checkout master && git fetch origin && git reset --hard origin/master && git co - && git rebase master"
sync = "!git fetch upstream && git checkout master && git merge upstream/master"
rmb = !sh -c '(git branch -D $1 >/dev/null 2>&1 || true) && (git push origin :$1 >/dev/null 2>&1 || true) && rm .git/refs/remotes/origin/$1 >/dev/null 2>&1' - # using semiconol -> syntax error :/
pru = remote prune origin
log = log --pretty=format:'%h %an %Cred%ar %d %Cgreen%s'
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[push]
default = current