From: Junio C Hamano Date: Thu, 05 Apr 2007 21:18:58 GMT Subject: Re: How can git pull be up-to-date and git push fail? Message-ID: <7vodm2o6yl.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070405204604.GA24779@coredump.intra.peff.net> Jeff King writes: > On Thu, Apr 05, 2007 at 09:07:11AM -0500, Bill Lear wrote: > >> Here is the local: >> >> [core] >> repositoryformatversion = 0 >> filemode = true >> bare = false >> logallrefupdates = true >> [remote "origin"] >> url = ssh://poire/home/jml/repos/new/fusion >> fetch = +refs/heads/*:refs/remotes/origin/* >> [branch "master"] >> remote = origin >> merge = refs/heads/master > > I don't see anything there that should cause branches under refs/remotes > to be pushed. Was he using 'git-push --all' by any chance? IIRC "git push" without explicit refspecs push the matching refs, but I am a bit under the weather and feverish, so don't take my word literally but look at git-push manual page please.