Goal: I have several repositories that are managed by the same rules. I would like to create a git alias to help fetch and/or pull only the relevant branches without fetching information for lots of remote branches relating to work I do not care about. I hope the end result will keep my log output clean and manageable while still giving my relevant information.
Specifics: I would like a single command to pull "master" and any branch starting with "development/" (i.e. development/2.0...). There are several other branches that I would like to avoid fetching. These typically take a form beginning with "integration/" or "personal/".
What I got: I now know what git Porcelain is thanks to a comment in "git fetch --help" and here is how I use it:
git fetch origin master:master -u
This even works to get master and 1 development branch:
git fetch origin master:master development/2.0:development/2.0 -u
But I am having troubles scaling it to every development branch without listing them individually (this appears to do nothing):
git fetch origin development/*:development/* -u
Thanks in advance for the help!