Similar kind a issue I faced recently and solved using

git remort add upstream xxxxx.git
git fetch upstream
git merge upstream/master

Now your local repo is sync with the remort and now you can push it

On Monday, March 31, 2014, Afkham Azeez
<az...@wso2.com<javascript:_e(%7B%7D,'cvml','az...@wso2.com');>>
wrote:

> *Got the following error when I tried to do a git push to my feature
> branch*
>
>
> To https://github.com/wso2/carbon-kernel.git
>
>  ! [rejected]        master -> master (non-fast-forward)
>
> error: failed to push some refs to '
> https://github.com/wso2/carbon-kernel.git'
>
> hint: Updates were rejected because a pushed branch tip is behind its
> remote
>
> hint: counterpart. Check out this branch and integrate the remote changes
>
> hint: (e.g. 'git pull ...') before pushing again.
>
> hint: See the 'Note about fast-forwards' in 'git push --help' for details.
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **az...@wso2.com*
> * cell: +94 77 3320919 blog: **http://blog.afkham.org*<http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>


-- 
Sent from Gmail Mobile
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to