How to pull changes in one branch to another branch in GIT

  • git fetch origin
  • git checkout branch_name1   (The branch you need to update)
  • git pull origin branch_name2  (From which branch you need to update, if you need to update from master use master. Actually master can be also considerd as a branch)

Comments

Popular posts from this blog

How to SSH to remote server without entering password each time.

How to redirect a URL in NGINX

Ruby on Rails Installation on Windows 7