On 2020-10-25, at 6:05 AM, Anca Jain <ancaj...@gmail.com> wrote:
> Hi! I am a beginner to Git. I opened a folder located on my Desktop with “Git > Bash Here”. I run “git add.” without entering “git init” first. Now almost > all of my computer files (the ones on the Desktop) are in the “Untracked > files” folder. > >... > > I need a command to make Git let my Desktop files alone. I don’t want to > commit my whole computer in Git, I just want to get to “working tree clean” > without deleting all of my documents. The suggestions I found on the internet > require a risk of being left with nothing on my computer. So just as a first comment, it's not your whole computer that's in Git. Your desktop is just another folder in Microsoft Windows. I think (it's been years since I've trusted Microsoft-Brand graphical windowing operating system) that it's in HOME_DIRECTORY/Desktop on modern versions (again, has moved over the years) -- so typically C:\Profiles\Yourname\Desktop, I think. "dir" on windows has support for hidden files, that are not displayed by default. If you have a special git bash shell, you probably have a full set of unix-like commands. So, send us a copy of the output from: ls -asF and we can help figure out what happened. (That's like asking "dir" to include hidden files, but I don't remember the option to dir to do that.) -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/CE65AAD6-CB21-475D-8604-2FA3067D540A%40gmail.com.