push rejected

213 views
Skip to first unread message

jjgod

unread,
Mar 20, 2008, 11:19:33 PM3/20/08
to Gitorious
Hi,

I used to push fine to gitorious, but recently the situation changed:

$ git remote show jjgod-clone
* remote jjgod-clone
URL: g...@gitorious.org:nally/jjgods-mainline-clone.git
Tracked remote branches
jjgod master

$ git push jjgod-clone jjgod
To g...@gitorious.org:nally/jjgods-mainline-clone.git
! [rejected] jjgod -> jjgod (non-fast forward)
error: failed to push some refs to 'g...@gitorious.org:nally/jjgods-
mainline-clone.git'

Do you have any clue why it's rejected?

Thanks.

- Jiang

Tim Harper

unread,
Mar 20, 2008, 11:27:46 PM3/20/08
to gito...@googlegroups.com
It could have happened because you rebased the branch, or you changed
the history of a branch via git reset

Another reason would be, someone else pushed to the branch, or another
repository did so, and need to pull first.

Tim

Reply all
Reply to author
Forward
0 new messages