git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Short form of --force-with-lease

From
WCWyatt Carpenter <wyattscarpenter@gmail.com>
Date
Apr 11, 2024, 17:16 UTC
Message-ID
<CADwVmK293eQ5VFkn-J68tXQ=64u3H79ScMW7H_ukSmtwLwA4wA@mail.gmail.com>

I often use git push --force-with-lease; it does exactly what I need. Is there a short form of the flag, like -f is for --force? If not, I would like to propose -l be added as one. I don't believe git push has an -l flag currently, and l is of course the first letter of lease.

Next: Kipras Melnikovas
Message 1 of 7 in “Short form of --force-with-lease”
  1. Wyatt CarpenterApr 11, 2024
  2. Kipras MelnikovasApr 11, 2024
  3. rsbecker@nexbridge.comApr 11, 2024
  4. Kipras MelnikovasApr 11, 2024
  5. Kyle LippincottApr 11, 2024
  6. Kipras MelnikovasApr 12, 2024
  7. Junio C HamanoApr 11, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.