cURL / Mailing Lists / curl-library / Single Mail


Re: Github use

From: Kamil Dudka <>
Date: Mon, 19 Apr 2010 18:29:09 +0200

On Mon April 19 2010 18:06:36 Patrick Monnerat wrote:
> I keep a local working copy of curl and make update on it.
> After commit (local), I have to push to the github server.
> If someone made pushes in the meantime, github rejects my push: some
> refs cannot be pushed (non fast-forward rejected).
> Thus I have to pull before push.
> This works fine, but the pull leaves an inelegant track on the github
> server and on the page:
> Merge branch 'master' of
> How to avoid it ? You should all know the trick since it seems I'm the
> only one with this problem !

I guess you need to have your own changes on top of the upstream ones.
Instead of 'git pull' use the following:

$ git fetch
$ git rebase origin

List admin:
Received on 2010-04-19