A PHP Error was encountered
Severity: Notice
Message: Undefined index: userid
Filename: views/question.php
Line Number: 191
Backtrace:
File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler
File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view
File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once
Git ignore directory not working on .vs directory
I'm having issues getting git to ignore the .vs hidden directory in my project. I have the following structure, all my project files are in the MyProject directory, which also includes the .vs directory, which I'm trying to ignore.
root/.git root/MyProject root/.gitattributes root/.gitignore root/MyProject/.vs
I've tried adding a bunch of ignore commands to the .gitignore file but none seem to work. I've tried using
*.vs *.vs/ *.vs/* **/.vs **/.vs* **/.vs** **/.vs/** **/.vs/* MyProject/*.vs MyProject/*.vs/ MyProject/*.vs/* MyProject/**/.vs MyProject/**/.vs* MyProject/**/.vs** MyProject/**/.vs/** MyProject/**/.vs/*
I just want all files in the .vs file to be ignored.
Please assist.