Skip to content

Instantly share code, notes, and snippets.

@kayintveen
Created March 21, 2017 15:08
Show Gist options
  • Save kayintveen/4fde2429c48266b888a35783cd052236 to your computer and use it in GitHub Desktop.
Save kayintveen/4fde2429c48266b888a35783cd052236 to your computer and use it in GitHub Desktop.
Setup git on dev location with existing files
git init
git remote add origin $url_of_clone_source
git fetch origin
git checkout -b master --track origin/master # origin/master is clone's default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment