{"thread":{"id":"60762","subject":"Suggestion for Git docummntation Book, Chapter \"7.7 Git Tools - Reset Demystified\"","startedAt":"2024-01-18T18:42:55Z","lastAt":"2024-01-20T01:03:13Z","messageCount":2,"participants":["Peter Hunkeler","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"486990","messageId":"54482cec-88de-4e88-a153-f699c2c087d9@gmx.net","threadId":"60762","inReplyTo":null,"subject":"Suggestion for Git docummntation Book, Chapter \"7.7 Git Tools - Reset Demystified\"","fromName":"Peter Hunkeler","fromEmail":"peter.hunkeler@gmx.net","sentAt":"2024-01-18T18:42:52Z","receivedAt":"2024-01-18T18:42:55Z","isPatch":false,"sender":{"key":"peter.hunkeler@gmx.net","avatar":null},"body":"Hi,\n\nI appreciate all the work that has been done to give us Git users good\ndocumentation.\n\nAs a rather-newbie I have to lookup the commands I need for rarely used,\nspecific tasks. <git reset ...> being one of them. If find chapter \"7.7\nGit Tools - Reset Demystified\" very helpful. There is however one point\nthat newbies might not (yet) clearly understand: The git reset does\n*not* do anything to new, untracked files that might exist in the\nworking tree. To cleanup, the advice from various places on the internet\nis to issue a \"git clean -f -d\" after the reset.\n\nMaybe it would be helpful if said chapter had a short discussion about\nnon tracked files, how to clean with \"git clean -f -d\"\n\nThanks\nPeter\n"},{"id":"487123","messageId":"20240120010311.GD117170@coredump.intra.peff.net","threadId":"60762","inReplyTo":"54482cec-88de-4e88-a153-f699c2c087d9@gmx.net","subject":"Re: Suggestion for Git docummntation Book, Chapter \"7.7 Git Tools - Reset Demystified\"","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2024-01-20T01:03:11Z","receivedAt":"2024-01-20T01:03:13Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, Jan 18, 2024 at 07:42:52PM +0100, Peter Hunkeler wrote:\n\n> I appreciate all the work that has been done to give us Git users good\n> documentation.\n> \n> As a rather-newbie I have to lookup the commands I need for rarely used,\n> specific tasks. <git reset ...> being one of them. If find chapter \"7.7\n> Git Tools - Reset Demystified\" very helpful. There is however one point\n> that newbies might not (yet) clearly understand: The git reset does\n> *not* do anything to new, untracked files that might exist in the\n> working tree. To cleanup, the advice from various places on the internet\n> is to issue a \"git clean -f -d\" after the reset.\n> \n> Maybe it would be helpful if said chapter had a short discussion about\n> non tracked files, how to clean with \"git clean -f -d\"\n\nI don't think the folks who work on the book content tend to hang out on\nthe development mailing list. You might get more response opening an\nissue in their GitHub repo:\n\n  https://github.com/progit/progit2\n\n-Peff\n"}]}