Skip to content

Instantly share code, notes, and snippets.

@rakuishi
Created March 10, 2016 02:04
Show Gist options
  • Save rakuishi/0c0fe2a7f05c77a0707c to your computer and use it in GitHub Desktop.
Save rakuishi/0c0fe2a7f05c77a0707c to your computer and use it in GitHub Desktop.
git init
git remote add origin [email protected]:username/repo.git
git fetch
git branch master origin/master
git reset --mixed FETCH_HEAD
git branch -vv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment