Skip to content

Instantly share code, notes, and snippets.

@banan314
Last active June 19, 2017 19:39
Show Gist options
  • Save banan314/543f6418fd9c1a878307843fbceb810a to your computer and use it in GitHub Desktop.
Save banan314/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
@banan314
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