Skip to content

Instantly share code, notes, and snippets.

@peavers
Created May 5, 2014 09:37
Show Gist options
  • Save peavers/d7aae7fc1e63fd08a3c4 to your computer and use it in GitHub Desktop.
Save peavers/d7aae7fc1e63fd08a3c4 to your computer and use it in GitHub Desktop.
Updates local .lock file and commits it to git.
#!/bin/bash
git fetch
composer update
git add composer.*
git commit -m 'auto update script'
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment