Re: [PATCH v2 00/16] Add new command 'restore'
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Apr 17, 2019, 10:04 UTC
- Message-ID
- <CACsJy8A9xfR7FheOHUoywNz_D7W1X1fv=mUBz-uu82CGZqYfVA@mail.gmail.com>
- In-Reply-To
- <20190411131218.19195-1-pclouds@gmail.com>
On Thu, Apr 11, 2019 at 8:12 PM Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 5 quoted lines
> > This is the companion of "git switch" and is based on that topic. > This command peforms the "checkout paths" from git-checkout, git-reset > and also has a third mode to reset only worktree, leaving the index > alone.
It does not have to be done now. But I'm just wondering, does anyone think adding --dry-run is a good idea? This command is destructive by default, so careful people might want it, I dunno.
-- Duy