Created
May 9, 2019 11:15
-
-
Save andypa/4b43d54c58272914de523ccc8d8375c9 to your computer and use it in GitHub Desktop.
execute composer update and directly commit the composer.lock and push it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias pushlock='COMPOSER_DISCARD_CHANGES=stash composer update --no-interaction && git add composer.lock && git commit -m "[UPDATE] composer.lock" && git push' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment