Answers for "how can i pull the master branch from other branch in git"

12

how to pull from a particular branch in git

git pull origin <branch>
Posted by: Guest on June-30-2020
9

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		# merge master into <branch-name>
Posted by: Guest on July-23-2020

Code answers related to "how can i pull the master branch from other branch in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language