-
-
Save mjsarfatti/5684963 to your computer and use it in GitHub Desktop.
This file contains 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
# Initial setup | |
git clone -o laravel -b master https://github.com/laravel/laravel.git project-name | |
cd project-name | |
git checkout --orphan master | |
git commit -m "Initial commit" | |
composer install | |
# --or, simply-- | |
composer create-project laravel/laravel | |
# Pulling changes | |
git fetch laravel | |
git merge --squash -m "Upgrade Laravel" laravel/master | |
git mergetool -t opendiff | |
find . -name "*.orig" -ok rm '{}' ';' | |
git commit -m "Upgrade Laravel" | |
composer update | |
# On remote server, after 'git push' | |
composer install # NOT update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment