mirror of
https://github.com/meineerde/dotfiles.git
synced 2026-03-23 09:09:54 +00:00
Use git push --force-with-lease instead of simple --force
This acts as a tiny barrier for potentially bad decisions. See https://developer.atlassian.com/blog/2015/04/force-with-lease/
This commit is contained in:
parent
90dcd7367e
commit
a62385ab8d
@ -7,8 +7,8 @@
|
|||||||
ci = commit
|
ci = commit
|
||||||
cm = commit
|
cm = commit
|
||||||
p = push
|
p = push
|
||||||
pf = push --force
|
pf = push --force-with-lease
|
||||||
fp = push --force
|
fp = push --force-with-lease
|
||||||
su = submodule update --recursive --init
|
su = submodule update --recursive --init
|
||||||
addnw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
|
addnw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
|
||||||
[user]
|
[user]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user