Skip to main content

Command Palette

Search for a command to run...

Git: fetch branch in local that is present only in remote ?

Updated
1 min read
S

I love learning about technology and sharing that with others

Problem

lets say a developer worked on a change on a branch : master-qprod and we want to check these changes in our local, but we are not having this branch in local

git checkout -b master-qprod
git fetch origin master-qprod
git checkout master-qprod
11 views

More from this blog

H

hashcodehub

271 posts

Consistent, Passionate and Organized :)