I have many remotes added to my git. Each console is a repository for one developer. Every day, I fetch --all to see any new branches that they create that they are ready to consider.
However, developers can push private branches to the remote. Say, all branches with an underscore prefix are not ready for viewing, and other branches are ready for viewing.
When executing git fetch --all graph of my git (via /libexec/git-core/git-gui ) will see all branches regardless of whether they have an underscore prefix or not. This complicates the schedule.
I want git fetch ignore those _XXXX branches from loading to local git. So when I look at the git graph, it looks like this:
- Shows branches:
RemoteA/Branch1 , RemoteB/Branch1 , RemoteB/Branch2 RemoteA/_Branch2 branches: RemoteA/_Branch2 , RemoteB/_Branch3
How can i do this?
source share