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

wishlist += command completion for deleted but tracked files

From
ALAndreas Lüttgens <andreas.luettgens@gmx.de>
Date
Oct 6, 2024, 09:10 UTC
Message-ID
<a8320049-9d71-40a8-8e53-aab20f496bcf@gmx.de>
Hi,
in my work i had the following situation:
deleted a file that was already version controlled, git status is:
On branch master
Changes not staged for commit:
   (use "git add/rm <file>..." to update what will be committed)
   (use "git restore <file>..." to discard changes in working directory)
         deleted:    IQFE.cc
         modified:   ctirgl.cc
         modified:   joaogl.m
Would very much like to type:

"git checkout IQ" (and TAB) to complete to the already known filename "IQFE.cc"

This would be especially helpful for longer file names.
Thank you,
kind regards,
Andreas
Message 1 of 1 in “wishlist += command completion for deleted but tracked files”
  1. Andreas LüttgensOct 6, 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.