-1

I have cloned just a specific git branch to my local machine. How do I incorporate the changes made in that branch to reflect in my local machine.

phd
  • 82,685
  • 13
  • 120
  • 165
boredaf
  • 98
  • 1
  • 8

1 Answers1

0

After cloning the repository, you can simply use

git pull remotename branchname

In order to incorporate the changes, you can also use git fetch and git merge, but git pull is a shortcut for both of them

To get a detailed explaination you can refer this official documentation and this SO answer

ESCoder
  • 15,431
  • 2
  • 19
  • 42