how do I make git push all tracking branches?

Is there a way to get git push to push all branches which are already set to be tracking?

For example, suppose I have three branches which track remotely: dev, staging, and production. I make commits and merges and now wish to push all three. Is there a single command to do this?

  • master branch and 'origin/master' have diverged, how to 'undiverge' branches'?
  • use git cherry-pick now but merge changes later
  • How to use gitignore in Pycharm?
  • Ignore all dir's but one
  • Hide VSTS (VisualStudio.com) GIT Branches
  • GIT Nested repositories: Composer vs. SubModules vs. Subtree vs.?
  • (Note: not the same as With GitHub how do I push all branches when adding an existing repo? and git push –all won’t work, as it will push all local branches, not just tracking ones.)

  • How to deal with files that are relevant to version control, but that frequently change in irrelevant ways?
  • Can I escape chars in git log output?
  • Can someone explain the distinction between content tracking used in Git and file tracking used in other SCMs
  • git automatic revert set of commits
  • How to pull into not-the-current-branch?
  • Continuous integration and continuous delivery with git-flow
  • Git Baby is a git and github fan, let's start git clone.