mirror of
https://github.com/meineerde/dotfiles.git
synced 2026-02-06 00:53:23 +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
|
||||
cm = commit
|
||||
p = push
|
||||
pf = push --force
|
||||
fp = push --force
|
||||
pf = push --force-with-lease
|
||||
fp = push --force-with-lease
|
||||
su = submodule update --recursive --init
|
||||
addnw = !sh -c 'git diff -w --no-color "$@" | git apply --cached --ignore-whitespace' -
|
||||
[user]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user