From: Michael Albinus <michael.albinus@gmx.de>
To: emacsq via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Cc: emacsq <laszlomail@protonmail.com>
Subject: Re: Can VC stash a single file?
Date: Wed, 20 Apr 2022 13:45:53 +0200 [thread overview]
Message-ID: <87sfq8j7v2.fsf@gmx.de> (raw)
In-Reply-To: <5evxDEdmQ9VmOuFZjVEL9k1s-0AAnzDeLcogwtSN5G0vFHI9AtC_xk49iFNaWpe8f3bMCIUhA9GGjD3YFGNlnKoQZh-tVMWNUKHunVwUuRI=@protonmail.com> (emacsq via Users list for the's message of "Wed, 20 Apr 2022 07:44:52 +0000")
emacsq via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
Hi,
> I can stash the whole working directory with vc-git-stash, but what if I want to stash changes of the current file only?
>
> Does VC support this?
Yes. In a vc-dir buffer, mark this(these) file(s) and stash then via "z C".
Best regards, Michael.
next prev parent reply other threads:[~2022-04-20 11:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-20 7:44 Can VC stash a single file? emacsq via Users list for the GNU Emacs text editor
2022-04-20 11:45 ` Michael Albinus [this message]
2022-04-20 12:16 ` emacsq
2022-04-20 14:03 ` Michael Albinus
2022-04-20 14:26 ` emacsq
2022-04-21 6:34 ` Juri Linkov
2022-04-21 7:03 ` emacsq
2022-04-21 7:17 ` Juri Linkov
2022-04-21 7:43 ` emacsq
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfq8j7v2.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=laszlomail@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).