Answers for "how to pull a branch into your current branch"

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 everything from development branch to feature branch

#!/bin/bash
git checkout develop
git pull
git checkout feature/$1
git merge develop 
git push
Posted by: Guest on June-03-2020

Code answers related to "how to pull a branch into your current branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language