search

Home  >  Q&A  >  body text

Why are there so many inexplicable changes in git?

I don’t know how it ended up like this

仅有的幸福仅有的幸福2794 days ago571

reply all(2)I'll reply

  • PHPz

    PHPz2017-05-02 09:36:55

    This has nothing to do with Git. The problem is that you should not create a Git repository in the User/your_name folder, but create a new folder. Many software will store configurations in the AppData hidden folder in this directory, and the system will also store the HKCU registry, etc. in this folder.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:36:55

    Even so, you can also use .gitignore to ignore those files

    Of course, the final analysis is that you should not create the Git repository in the user folder

    reply
    0
  • Cancelreply