All of lore.kernel.org
 help / color / mirror / Atom feed
* Ambigious messages
@ 2021-07-31  8:46 Eugen Konkov
  2021-07-31 12:31 ` Ambigious messages (sparse checkout) Philip Oakley
  2021-08-01  0:27 ` Ambigious messages Elijah Newren
  0 siblings, 2 replies; 4+ messages in thread
From: Eugen Konkov @ 2021-07-31  8:46 UTC (permalink / raw)
  To: Git Mailing List

$ git checkout 51c7d41b82b5b
error: Your local changes to the following files would be overwritten by checkout:
       lib/Mojo/IOLoop/Stream.pm
Please commit your changes or stash them before you switch branches.
Aborting
$ git checkout lib/Mojo/IOLoop/Stream.pm
error: pathspec 'lib/Mojo/IOLoop/Stream.pm' did not match any file(s) known to git

$ git add lib/Mojo/IOLoop/Stream.pm
The following pathspecs didn't match any eligible path, but they do match index
entries outside the current sparse checkout:
lib/Mojo/IOLoop/Stream.pm
hint: Disable or modify the sparsity rules if you intend to update such entries.
hint: Disable this message with "git config advice.updateSparsePath false"

$ git --version
git version 2.32.0

Here I do not understand how to checkout to different commit
or how to commit the subject file

It would be nice to show hint about how to exlude this file from unindex


--
Best regards,
Eugen Konkov


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-02 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-31  8:46 Ambigious messages Eugen Konkov
2021-07-31 12:31 ` Ambigious messages (sparse checkout) Philip Oakley
2021-08-01  0:27 ` Ambigious messages Elijah Newren
2021-08-02 13:48   ` Eugen Konkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.