Comments (7)
Sorry if Iām stating the obvious but have you gitignored it?
from php-ref.
I dont think so. The only gitignores I have in my project are the ones that came with the packages installed. I've run check-ignore on the digitalnature, digitalnature/php-ref and digitalnature/php-ref/ref.php and get no output. Git exclude file is empty also.
from php-ref.
ahhh yissss. I finally found out what the issue was. dev-master packages are loaded as sub-modules which will never get committed I guess. Removed .git folder from php-ref, removed git cache for php-ref and then readded php-ref.
$ rm -rf /vendor/NAME_OF_DEPENDENCY/.git
$ git rm --cached /vendor/NAME_OF_DEPENDENCY
$ git add /vendor/NAME_OF_DEPENDENCY
Then added /vendor/**/.git
to .gitignore to prevent future issues.
Thanks to this post for the help!
from php-ref.
I mean... committing your vendor directory is insane anyway lol. Why exactly do you want/need that in your repo?
from php-ref.
I know, I know, paranoia I suppose. What if some package of some version disappeared from the universe forever or worse some package of some version changed without a corresponding version change? I could recover or get back going again with my local copy but if I just commit the vendor I dont have to worry about it. Plus I try to keep my dependencies low anywho so its not a real burden...
from php-ref.
What you could do instead is clone the repo for each of your Composer dependencies onto your development machine(s) and pull down the changes every so often. That way, if a package goes missing or something, you can reference it in your composer.json as a local repo.
from php-ref.
oh, ive not played with local repo's yet. I'll check that out. Thanks!
from php-ref.
Related Issues (20)
- Automatic switching to cmd mode HOT 3
- Why the rt() function set the http header ?
- emulate kintLite
- Apache crash with Laravel model HOT 5
- Better regex matching of date & datetime. HOT 1
- Some changes please
- Problem use it in error handler HOT 1
- __debugInfo support HOT 1
- Json output for API ?
- Error: Call to undefined function token_get_all() HOT 1
- count(): Parameter must be an array or an object that implements Countable HOT 5
- "data-exptxt" empty when used inside a loop HOT 1
- Exclude HTML HOT 1
- r($object), throw a ReflectionException HOT 1
- ReflectionType::__toString() is deprecated HOT 3
- Initial @ breaks output of following @s (repro inside)
- Hiding path to PHP file
- Mark as abandoned? HOT 4
- Bugfix for Array (Simple)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-ref.