Answers for "git pull to branch or master"

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
1

pull from dev branch to master

(on branch development)$ git merge master
(resolve any merge conflicts if there are any)
git checkout master
git merge development (there won't be any conflicts now)
Posted by: Guest on April-23-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language