Skip to content

Instantly share code, notes, and snippets.

@alenkovich
Last active February 12, 2020 06:36
Show Gist options
  • Save alenkovich/f347617f2f199a346ac7 to your computer and use it in GitHub Desktop.
Save alenkovich/f347617f2f199a346ac7 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