How to add framework file to git
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
How to add framework file to git
Is there a way to instruct git to consider a ".framework" file as a normal file? I don't want to see any inner details about the framework(all the files/folder that it contains) in my repository.
I added a screenshot from sourcetree to visualize my problem, I want to see only MPCheckout.framework file, but it looks like git treat this file as a folder