0

My .gitignore file does not exclude vcs.xml but works on others

Here is my .gitignore :

#################
## Pycharm
#################
.idea
.idea/*.xml
.idea/*
*/.idea/*

The rest of the files in the .idea folder are excluded, but vcs.xml does not obey the .idea/*.xml rule: github

I have tried:

  • using the right menu option to exclude github menu
  • excluding the folder entirely .idea/*
  • excluding all file under folder .idea
  • restarting GitHub desktop
  • restarting the computer

gitignore

aschultz
  • 1,658
  • 3
  • 20
  • 30
echo
  • 767
  • 2
  • 9
  • 24
  • 5
    If the file is tracked already, .gitignore won't hold water if you want to _not_ track it anymore. – eftshift0 Aug 12 '19 at 19:57
  • 3
    Possible duplicate of [How to make Git "forget" about a file that was tracked but is now in .gitignore?](https://stackoverflow.com/questions/1274057/how-to-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore) – phd Aug 12 '19 at 22:08

0 Answers0