On Fri, 27 May 2016, Satish Balay wrote: > On Fri, 27 May 2016, Mark Adams wrote: > > > > > > > Satish, please don't use this syntax for force pushes. Prefer > > > > > > git push origin +mark/snes-ex65c > > > > > > > 08:13 mark/snes-ex56c<> ~/Codes/petsc$ git push origin +mark/snes-ex65c > > error: src refspec mark/snes-ex65c does not match any. > > error: failed to push some refs to 'g...@bitbucket.org:petsc/petsc.git' > > I have no idea why you got this error.
I suspect - for some reason t- he 'upstream' reference for this branch is not set. I think the following would have worked in this case. git push -u origin +mark/snes-ex65c Satish