Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save opencubicles/f5be9869260a0f78621e5ffea9dd9581 to your computer and use it in GitHub Desktop.
Save opencubicles/f5be9869260a0f78621e5ffea9dd9581 to your computer and use it in GitHub Desktop.
# touch bla.txt
# git init
# git add -A
# git commit -a -m 'initial commit'
# git remote add laravel git://github.com/laravel/laravel.git
# git fetch laravel
# git checkout -b framework laravel/master
# git checkout master
# git merge --squash framework
# git commit -a -m 'Laravel v5.1.4'
# git log
### UPDATE
# git checkout framework
# git pull framework master
### Routines
### Checkout single branch
# git clone https://alenkovich@bitbucket.org/irblibrary/crosbi-v2.git -b develop --single-branch .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment