git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Proposalö git push -F
@ 2021-03-02 12:35 XonqNopp
  2021-03-03  6:38 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: XonqNopp @ 2021-03-02 12:35 UTC (permalink / raw)
  To: git

Hi there,

Thanks for everything you do, git is really an awesome tool and I
enjoy using it!

I have discovered some months ago that it is more safe to force a push with
git push --force-with-lease

But since then I keep wondering: why is this not the default? Maybe we
should have --force (which would be with lease) and
--force-without-lease? That would be more logical for unaware users...
However, I would completely understand your reticence to change this.
I just want to propose to change the shortcuts:

* "git push --force" shortcut would become "git push -F"
* "git push --force-with-lease" would use the shortcut "git push -f"

This is just an idea of mine, I wanted to share it with you. Feel free
to use it or not...

Cheers :-)
XonqNopp

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-24 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02 12:35 Proposalö git push -F XonqNopp
2021-03-03  6:38 ` Junio C Hamano
2021-03-04 10:02   ` Johannes Schindelin
2021-08-24 10:23   ` Xavier Morel

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).