How to change git branch in multiple projects at once and pull the latest changes?
Suhail Akhtar
1 min read
$ cd /my-projects
$ cd project1 && git checkout develop && git pull origin develop && cd ..
$ cd project2 && git checkout develop && git pull origin develop && cd ..
$ cd project3 && git checkout develop && git pull origin develop && cd ..
$ cd project4 && git checkout develop && git pull origin develop && cd ..
0
Subscribe to my newsletter
Read articles from Suhail Akhtar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by