What would be a good a way to fetch all branches (to check consistency via branch -av between both repos) in [remote "all"] after a push? I have a fetch for both origin and backup, but it's only fetching the first.
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = git@host:origin/repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "backup"]
url = git@host:backup/repo.git
fetch = +refs/heads/*:refs/remotes/backup/*
[remote "all"]
url = git@host:origin/repo.git
url = git@host:backup/repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/heads/*:refs/remotes/backup/*
[branch "master"]
remote = all
merge = refs/heads/master
I'm currently going the route of typing git push all [branch], followed by git fetch all since the only fetch it's automatically grabbing is the first repo listed in [remote "all"] (even though I have both listed.)