How do I get Composer to download the latest commit in the master branch from GitHub for a package?

前端 未结 5 1157
一个人的身影
一个人的身影 2021-01-31 01:47

I am trying to get Composer do download the latest commit for the Behat/MinkSelenium2Driver package. That particular repo only has a master branch. I have tried every method I c

5条回答
  •  清歌不尽
    2021-01-31 02:41

    To download the latest version of a repo, I usually use:

    composer update behat/mink-selenium2-driver
    

    This will update your composer.lock with the last available commit reference.

提交回复
热议问题