Hi, I found a behavior which is, at least, different from what "git help push" seems to declare. basically: - if I have 2 remotes : 'origin' and 'remote_B' - if I checkout with tracking a branch of 'remote_B' - if I do "git push remote" or "git push" or "git push -repo=remote_B" then git try to push all my branches of "origin" to remote_B. I check with latest git 1.7.3.2, and the issue is still here. strangely: - git checkout master - git push => this is OK, and doesn't try to push any remote_B references to origin. I found this is particularity error prone as origin/master can be a fast forward of remote_B/master, and in this case nobody will complains.. (that's what happened to me ;-) ) attached to this mail, a simple script that show the evidence. regards, arnaud
Attachment:
test.sh
Description: application/shellscript