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