1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-05 16:43:22 +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:
Holger Just 2016-10-06 08:53:25 +02:00
parent 90dcd7367e
commit a62385ab8d

View File

@ -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]