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

Add a "remove" subcommand to "git-sparse-checkout"

From
Shaoxuan Yuan <shaoxuan.yuan02@gmail.com>
Date
Mar 28, 2022, 03:46 UTC
Message-ID
<CAJyCBORyNQX7u5=ZTdyHWyb63r-Cus4hb_yZingm4B=J4pjhkA@mail.gmail.com>
Hi all,

I'm wondering do we have a plan to add a "remove" subcommand to the existing "git-sparse-checkout" command set?

Because when I am messing with sparse-checkout, I sometimes want to remove a directory from cone, and I have to either go into ".git/info/sparse-checkout" to manually remove it, or "disable" then "init" or "set" the directories all over again.

I think it will be nice to "remove" a directory, then "reapply" to get the job done.

-- 
Thanks & Regards,
Shaoxuan
Next: Derrick Stolee
Message 1 of 2 in “Add a "remove" subcommand to "git-sparse-checkout"”
  1. Shaoxuan YuanMar 28, 2022
  2. Derrick StoleeMar 28, 2022

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.