Answers for "github pull origin from a different branch to a new branc"

8

git pull master into branch

git checkout <branch-name>  # gets you on <branch-name>
git fetch origin        	# gets you up to date with origin
git merge origin/master		# pull master into <branch-name>
Posted by: Guest on July-23-2020
1

git pull a new branch froma remote repo

git checkout --track origin/daves_branch
Posted by: Guest on May-30-2020

Code answers related to "github pull origin from a different branch to a new branc"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language