How do I get more info here (and hopefully resolve this)?
% git push
To ssh://server/foo/repo.git
! [rejected]test - test (non-fast-forward)
error: failed to push some refs to 'ssh://server/foo/repo.git'
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a
shawn wilson ag4ve.us at gmail.com writes:
How do I get more info here (and hopefully resolve this)?
% git push
To ssh://server/foo/repo.git
! [rejected]test - test (non-fast-forward)
error: failed to push some refs to 'ssh://server/foo/repo.git'
non-fast-forward means that
shawn wilson ag4ve...@gmail.com writes:
How do I get more info here (and hopefully resolve this)?
% git push
To ssh://server/foo/repo.git
! [rejected]test - test (non-fast-forward)
error: failed to push some refs to 'ssh://server/foo/repo.git'
You probably have a configuration
Thanks.
Yeah, I should've thought to do a pull
On Mon, Mar 17, 2014 at 9:34 AM, Dragos Foianu dragos.foi...@gmail.com wrote:
shawn wilson ag4ve.us at gmail.com writes:
How do I get more info here (and hopefully resolve this)?
% git push
To ssh://server/foo/repo.git
! [rejected]
Setting push.default to current adds the refspec HEAD for the
transport layer to handle. If HEAD doesn't resolve to a branch (and
since no refspec rhs is specified), the push fails after some time with
a cryptic error message:
$ git push
error: unable to push to unqualified destination: HEAD
Ramkumar Ramachandra artag...@gmail.com writes:
Setting push.default to current adds the refspec HEAD for the
transport layer to handle. If HEAD doesn't resolve to a branch (and
since no refspec rhs is specified), the push fails after some time with
a cryptic error message:
$ git push
Junio C Hamano wrote:
case PUSH_DEFAULT_CURRENT:
+ if (!branch)
+ die(_(message_detached_head_die), remote-name);
add_refspec(HEAD);
break;
Would it hurt to do
if (!branch_get(NULL))
die(...);
Ramkumar Ramachandra artag...@gmail.com writes:
Junio C Hamano wrote:
case PUSH_DEFAULT_CURRENT:
+ if (!branch)
+ die(_(message_detached_head_die), remote-name);
add_refspec(HEAD);
break;
Would it hurt to do
if
Setting push.default to current adds the refspec HEAD for the
transport layer to handle. If HEAD doesn't resolve to a branch (and
since no refspec rhs is specified), the push fails after some time with
a cryptic error message:
$ git push
error: unable to push to unqualified destination: HEAD
9 matches
Mail list logo