git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Suggestion for Git docummntation Book, Chapter "7.7 Git Tools - Reset Demystified"
@ 2024-01-18 18:42 Peter Hunkeler
  2024-01-20  1:03 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Hunkeler @ 2024-01-18 18:42 UTC (permalink / raw
  To: git

Hi,

I appreciate all the work that has been done to give us Git users good
documentation.

As a rather-newbie I have to lookup the commands I need for rarely used,
specific tasks. <git reset ...> being one of them. If find chapter "7.7
Git Tools - Reset Demystified" very helpful. There is however one point
that newbies might not (yet) clearly understand: The git reset does
*not* do anything to new, untracked files that might exist in the
working tree. To cleanup, the advice from various places on the internet
is to issue a "git clean -f -d" after the reset.

Maybe it would be helpful if said chapter had a short discussion about
non tracked files, how to clean with "git clean -f -d"

Thanks
Peter


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

* Re: Suggestion for Git docummntation Book, Chapter "7.7 Git Tools - Reset Demystified"
  2024-01-18 18:42 Suggestion for Git docummntation Book, Chapter "7.7 Git Tools - Reset Demystified" Peter Hunkeler
@ 2024-01-20  1:03 ` Jeff King
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2024-01-20  1:03 UTC (permalink / raw
  To: Peter Hunkeler; +Cc: git

On Thu, Jan 18, 2024 at 07:42:52PM +0100, Peter Hunkeler wrote:

> I appreciate all the work that has been done to give us Git users good
> documentation.
> 
> As a rather-newbie I have to lookup the commands I need for rarely used,
> specific tasks. <git reset ...> being one of them. If find chapter "7.7
> Git Tools - Reset Demystified" very helpful. There is however one point
> that newbies might not (yet) clearly understand: The git reset does
> *not* do anything to new, untracked files that might exist in the
> working tree. To cleanup, the advice from various places on the internet
> is to issue a "git clean -f -d" after the reset.
> 
> Maybe it would be helpful if said chapter had a short discussion about
> non tracked files, how to clean with "git clean -f -d"

I don't think the folks who work on the book content tend to hang out on
the development mailing list. You might get more response opening an
issue in their GitHub repo:

  https://github.com/progit/progit2

-Peff


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

end of thread, other threads:[~2024-01-20  1:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18 18:42 Suggestion for Git docummntation Book, Chapter "7.7 Git Tools - Reset Demystified" Peter Hunkeler
2024-01-20  1:03 ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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).