Sheffield Web Programmer

Git pull another branch without switching

May 14, 2019

Something I’ve been doing for a long time is stashing a change, swicthing to the develop branch, pulling , switching back to my feature branch, unstashing and then merging. No need to switch, you can just pull in develop without switching.

    git pull origin develop:develop