Skip to content

Instantly share code, notes, and snippets.

@purwandi
Forked from akuzemchak/l4project.sh
Last active December 17, 2015 07:59
Show Gist options
  • Save purwandi/5576738 to your computer and use it in GitHub Desktop.
Save purwandi/5576738 to your computer and use it in GitHub Desktop.
# Initial setup
git clone -o framework -b master https://github.com/laravel/laravel.git project-name
cd project-name
git checkout --orphan master
git commit -m "Initial commit"
# Pulling changes
git fetch framework
git merge --squash -m "Upgrade Laravel" framework/develop
# Fix merge conflicts if any and commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment