[Git] update git config
This commit is contained in:
parent
a52285b412
commit
3d5b029ed9
@ -13,46 +13,53 @@
|
|||||||
ui = auto
|
ui = auto
|
||||||
[alias]
|
[alias]
|
||||||
a = add --all
|
a = add --all
|
||||||
|
aca = !git add --all && git commit --amend
|
||||||
|
acan = !git add --all && git commit --amend --no-edit
|
||||||
####
|
####
|
||||||
b = branch
|
b = branch
|
||||||
|
bd = branch -d
|
||||||
|
bdd = branch -D
|
||||||
####
|
####
|
||||||
c = commit -S
|
c = commit -S
|
||||||
ca = commit -a
|
ca = commit -Sa
|
||||||
cm = commit -m
|
can = commit -Sa --no-edit
|
||||||
cam = commit -am
|
cm = commit -Sm
|
||||||
|
cam = commit -Sam
|
||||||
####
|
####
|
||||||
co = checkout
|
co = checkout
|
||||||
cob = checkout -b
|
cob = checkout -b
|
||||||
|
cod = checkout develop
|
||||||
####
|
####
|
||||||
cl = clone
|
cl = clone
|
||||||
cl1 = clone --depth=1
|
cl1 = clone --depth=1
|
||||||
####
|
####
|
||||||
d = diff -w
|
d = diff -w
|
||||||
####
|
####
|
||||||
|
f = fetch
|
||||||
|
fp = fetch --prune
|
||||||
|
####
|
||||||
l = log --oneline --graph --decorate
|
l = log --oneline --graph --decorate
|
||||||
####
|
####
|
||||||
ps = push
|
ps = push
|
||||||
psf = push -f
|
psf = push --force-with-lease
|
||||||
pso = push origin
|
pso = push origin
|
||||||
psfo = push -f origin
|
psfo = push --force-with-lease origin
|
||||||
psom = push origin master
|
|
||||||
psfom = push -f origin master
|
|
||||||
####
|
####
|
||||||
pl = pull
|
pl = pull
|
||||||
pb = pull --rebase
|
pb = pull --rebase
|
||||||
####
|
####
|
||||||
re = reset
|
r = rebase
|
||||||
reh = reset --hard
|
ra = rebase --abort
|
||||||
rehh = reset --hard HEAD
|
rc = rebase --continue
|
||||||
####
|
rd = rebase develop
|
||||||
r = remote
|
ri = rebase -i
|
||||||
ra = remote add
|
|
||||||
rr = remote rm
|
|
||||||
###
|
###
|
||||||
rmf = rm -f
|
rmf = rm -f
|
||||||
rmrf = rm -r -f
|
rmd = rm -r
|
||||||
|
rmdf = rm -rf
|
||||||
####
|
####
|
||||||
s = status
|
s = status
|
||||||
|
####
|
||||||
sm = submodule
|
sm = submodule
|
||||||
sms = submodule status
|
sms = submodule status
|
||||||
sma = submodule add
|
sma = submodule add
|
||||||
@ -62,9 +69,10 @@
|
|||||||
####
|
####
|
||||||
staged = diff --cached
|
staged = diff --cached
|
||||||
####
|
####
|
||||||
sc = stash clear
|
st = stash
|
||||||
sp = stash pop
|
stc = stash clear
|
||||||
sw = stash show
|
stp = stash pop
|
||||||
|
stw = stash show
|
||||||
####
|
####
|
||||||
pushall = !git remote | xargs -L1 git push
|
pushall = !git remote | xargs -L1 git push
|
||||||
psl = !git remote | xargs -L1 git push
|
psl = !git remote | xargs -L1 git push
|
||||||
@ -73,6 +81,8 @@
|
|||||||
####
|
####
|
||||||
u = reset --
|
u = reset --
|
||||||
unstage = reset --
|
unstage = reset --
|
||||||
|
####
|
||||||
|
upstream = !git push -u origin HEAD
|
||||||
[sendemail]
|
[sendemail]
|
||||||
smtpserver = mail.phundrak.com
|
smtpserver = mail.phundrak.com
|
||||||
smtpuser = lucien@phundrak.com
|
smtpuser = lucien@phundrak.com
|
||||||
@ -118,14 +128,12 @@
|
|||||||
file-decoration-style = none
|
file-decoration-style = none
|
||||||
|
|
||||||
[credentials "smtp://lucien@phundrak.com@mail.phundrak.com:587"]
|
[credentials "smtp://lucien@phundrak.com@mail.phundrak.com:587"]
|
||||||
helper = "pass Email/lucien@phundrak.com | head -n1 | tr -d '\n'"
|
helper = "secret-tool lookup password email_lucien-phundrak-com"
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
required = true
|
required = true
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
[safe]
|
|
||||||
directory = /opt/flutter
|
|
||||||
|
|
||||||
[url "https://phundrak@github.com"]
|
[url "https://phundrak@github.com"]
|
||||||
insteadOf = https://github.com
|
insteadOf = https://github.com
|
||||||
|
Loading…
Reference in New Issue
Block a user