0

Every time I open new visual studio project that is linked to Github I have more than 80000 changes in my project already. Has anybody encountered with such problem? Here is what I mean: enter image description here

enter image description here

How is it possible and why does it happen? And more importantly, how can I fix this? Any help would be greatly appreciated.

Edit: proposed questions do not solve my problem. I suppose the problem is that git files (.gitignore, .gitconfig..) are placed in wrong directory (Korisnik which means User in english) so it catches so many changes. Where should I put these files?

irena
  • 31
  • 7
  • As a wild guess, I'd say `.dotnet` should be added to `.gitignore`. And probably `.config` too. – Ken Y-N Jun 11 '21 at 15:44
  • I'm not sure how do I do that. I googled it and opened Git repository settings-->git files->.gitignore `edit`.When I click on `edit` it just opens a bunch of code in my solution. – irena Jun 11 '21 at 16:17
  • 1
    https://stackoverflow.com/search?q=%5Bgit%5D+undo+init+home – phd Jun 11 '21 at 16:19
  • It looks like you made your home directory a Git repo by accident. Follow the link posted by phd yesterday for several questions related to your problem. – joanis Jun 12 '21 at 18:27

0 Answers0