Skip to content

Instantly share code, notes, and snippets.

@camilajenny
Last active June 19, 2017 19:39
Show Gist options
  • Save camilajenny/543f6418fd9c1a878307843fbceb810a to your computer and use it in GitHub Desktop.
Save camilajenny/543f6418fd9c1a878307843fbceb810a to your computer and use it in GitHub Desktop.

On downloading zip

git init
git reset HEAD --
git remote add origin https://github.com/lukaszmalec6/anatomy
git fetch
git branch --track master origin/master

Branch master set up to track remote branch master from origin.

git pull
git branch rest-api
git checkout rest-api
git push --set-upstream origin rest-api
git branch

master

  • rest-api
@camilajenny
Copy link
Author

if there is origin set already, remove using

git remote rm origin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment