how to pull remote branch into local branch
git fetch origin <branch-name>
how to pull remote branch into local branch
git fetch origin <branch-name>
pull branch from github
#pull changes from remote to local copy of same/current branch:
git pull
#create a new local branch
git checkout -b new-branch
#switch to an existing local branch
git checkout other-branch
#--track: remote branch speified is the basis for the newly-created local branch
git checkout -b new-branch --track origin/develop
#restoring an old revision of a file:
git checkout <revisionID> <file>
#HEAD as the revision -> undo local changes to a file:
git checkout HEAD <file>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us