gitignore not working in pycharm?? /u/Crate-Of-Loot Python Education

Im trying to gitignore a file but whenever I push to github the file is still there??

.
└── ProjectName/
├── venv/
│ └── …
├── .gitignore
└── secretthings.py

Inside the git ignore file I wrote secretthings.py

I tried different variations too like .secretthings, /secretthings.py, etc. The .gitignore is the default pycharm gitignore found in the venv folder. It wasn’t ignoring anything when it was in the venv folder, so I tried moving it out of there

submitted by /u/Crate-Of-Loot
[link] [comments]

​r/learnpython Im trying to gitignore a file but whenever I push to github the file is still there?? . └── ProjectName/ ├── venv/ │ └── … ├── .gitignore └── secretthings.py Inside the git ignore file I wrote secretthings.py I tried different variations too like .secretthings, /secretthings.py, etc. The .gitignore is the default pycharm gitignore found in the venv folder. It wasn’t ignoring anything when it was in the venv folder, so I tried moving it out of there submitted by /u/Crate-Of-Loot [link] [comments] 

Im trying to gitignore a file but whenever I push to github the file is still there??

.
└── ProjectName/
├── venv/
│ └── …
├── .gitignore
└── secretthings.py

Inside the git ignore file I wrote secretthings.py

I tried different variations too like .secretthings, /secretthings.py, etc. The .gitignore is the default pycharm gitignore found in the venv folder. It wasn’t ignoring anything when it was in the venv folder, so I tried moving it out of there

submitted by /u/Crate-Of-Loot
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *