Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd10b11 + a03f6ca commit fc6ac07Copy full SHA for fc6ac07
src/push.c
@@ -333,7 +333,8 @@ static int revwalk(git_vector *commits, git_push *push)
333
continue;
334
335
if (!git_odb_exists(push->repo->_odb, &spec->roid)) {
336
- giterr_set(GITERR_REFERENCE, "Cannot push missing reference");
+ giterr_set(GITERR_REFERENCE,
337
+ "Cannot push because a reference that you are trying to update on the remote contains commits that are not present locally.");
338
error = GIT_ENONFASTFORWARD;
339
goto on_error;
340
}
0 commit comments