[Ubuntu] git push fails

Sebastiaan Couwenberg sebastic at xs4all.nl
Fri Nov 25 03:15:44 PST 2016


On 11/25/2016 12:12 PM, Martin Landa wrote:
> when building GRASS packages for Launchpad [1] I have problem with
> 
> git push --all --set-upstream
> 
> which fails with
> 
> Branch vdigit set up to track remote branch vdigit from origin.
> error: failed to push some refs to
> 'git+ssh://martinl-guest@git.debian.org/git/pkg-grass/grass.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.
> 
> Any idea what could be wrong? Thanks, Ma

There are commits on the branch that you haven't pulled into your
working copy. You can fix it by rebasing your branch:

 git pull --rebase

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Ubuntu mailing list