so lately i've been developing composer package , ran following problem.
branch 1.0
had composer dependency on somepackage: 1.0.0
branch 2.0
had composer dependency on somepackage: 2.0.0
is possible switch between these 2 branches without removing running vendor
directory andcomposer update
each time after git checkout {branch}
? if so, how can this?
as stated in documentation, composer.lock
supposed committed repository. i'm afraid you're trying solve problem, because of wrong usage of composer.
Comments
Post a Comment