Set up git to pull and push all branches
branch, git, push, version-control
Solution
The simplest way is to do:
git push --all origin
This will push tags and branches.
Problem
I'd like to push and pull all the branches by default, including the newly created ones. Is there a setting that I can define for it? Otherwise, when I add a new branch, locally and I want to pull it from the server, what is the simplest way to do it? I created a new branch with the same name and tried to pull but it doesn't work. Asks me for all the remote config of the branch. How do I set it.