Tuesday 15 June 2010

ruby on rails - Remote branch ahead of local branch; can't push -


I'm trying to push for it, but lately I left some commits because production and local code Both were flawed. I'm getting the error now:

The update was rejected because your current branch's tip is behind its remote equivalent

I do not want to draw from a remote, but I have a local Press the code as it is.

How can I do this?

I'm stupid. I came back and read the next line.

If it helps someone in the future, then the answer to use it is: force:

  / code>   < / Html>

No comments:

Post a Comment