I'm not very good with git and I'm having a problem. I am currently on local branch A-1
which I cloned from the remote branch A-1
. But someone else pushed changes to the remote develop
branch which I now need on my local A-1
. How do I get the changes from the remote develop
branch on to my local A-1
branch?
I've been looking around for answers and I think I need to use git pull
but I think I also need to specify the remote branch that I want to pull from? Otherwise I think it will just pull from the remote A-1
branch?
From Update a local branch with the changes from a tracked remote branch, would I need just do
git pull origin develop
?