unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* This Is The Git Help Mailing List
@ 2014-11-13 16:06 Lars Magne Ingebrigtsen
  2014-11-13 16:19 ` Lars Magne Ingebrigtsen
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-13 16:06 UTC (permalink / raw)
  To: emacs-devel

So, I had some locally checked-in changes that I wanted to push.  So I
said "git push".

[larsi@stories ~/src/emacs]$ git push
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
To larsi@git.sv.gnu.org:/srv/git/emacs.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'larsi@git.sv.gnu.org:/srv/git/emacs.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Ok, so I tried what I always do in the Gnus repo when this happens,
which usually fixes everything.

[larsi@stories ~/src/emacs]$ git pull --rebase
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.

Err...

Ok, how about just "git pull" like it says?

[larsi@stories ~/src/emacs]$ git pull
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
remote: Counting objects: 29, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 13 (delta 10), reused 0 (delta 0)
Unpacking objects: 100% (13/13), done.
From git.sv.gnu.org:/srv/git/emacs
   38fa4bc..d856e6b  master     -> origin/master
   e18c2a5..3d08bc4  emacs-24   -> origin/emacs-24
error: Your local changes to the following files would be overwritten by merge:
        lisp/ChangeLog
Please, commit your changes or stash them before you can merge.
Aborting

Errr...

What is the magic sequence of magic git commands that I should use now?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-12-05 16:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13 16:06 This Is The Git Help Mailing List Lars Magne Ingebrigtsen
2014-11-13 16:19 ` Lars Magne Ingebrigtsen
2014-11-13 17:04   ` Eli Zaretskii
2014-11-13 17:19     ` Andreas Schwab
2014-11-13 17:38       ` Eli Zaretskii
2014-12-05  0:45   ` Juri Linkov
2014-12-05  2:04     ` Stefan Monnier
2014-12-05  4:26       ` Ted Zlatanov
2014-12-05 16:03         ` Rüdiger Sonderfeld
2014-12-05 15:59     ` Rüdiger Sonderfeld
2014-11-13 16:20 ` Karl Fogel
2014-11-13 17:24   ` Paul Eggert
2014-11-13 17:30     ` Lars Magne Ingebrigtsen
2014-11-13 16:21 ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).