git pull –help
Incorporates changes from a remote repository into the current branch.
I pull the git repository for offline view of the code and like to have the updated code for the different branches. How do I pull the code for all the branches easily without doing a pull for each branch manually?
–all — Fetch all remotes.
–all didn’t help.
If the local repository is used for read only and none of the files are modified, then the below script will do the trick.
There seems to be no git equivalent command for the same.