all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* git flow for emacs master/emacs-25
@ 2015-11-14 23:10 Stephen Leake
  2015-11-16  8:20 ` Andreas Schwab
  2015-11-16 16:59 ` John Wiegley
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Leake @ 2015-11-14 23:10 UTC (permalink / raw)
  To: emacs-devel

I created a separate git workspace for emacs-25, via the following
commands:

    cd /Projects/emacs/master
    git fetch
    git branch emacs-25 origin/emacs-25
    cd ..
    git clone -b emacs-25 /Projects/emacs/master emacs-25
    cd emacs-25

This allows me to have both master and emacs-25 always checked out and
compiled, and reduces disk space in the repositories, and the time it
takes to update the repositories, and the load on savannah.

I can commit and try to push:

    cd /Projects/emacs/emacs-25
    git commit ...
    git push

That pushes from the local emacs-25 repository to the local master
repository; still need to push to savannah:

    cd ../master
    git push

That fails because there are new commits on emacs-25.

So I want to update the emacs-25 workspace via:

    cd /Projects/emacs/master
    git fetch --all
    cd ../emacs-25
    git fetch --all
    git rebase

The "git fetch" in master shows the new commits in emacs-25.

But the "git fetch" in emacs-25 doesn't fetch the commits.

What am I missing?

-- 
-- Stephe



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

end of thread, other threads:[~2015-11-16 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-14 23:10 git flow for emacs master/emacs-25 Stephen Leake
2015-11-16  8:20 ` Andreas Schwab
2015-11-16 16:59 ` John Wiegley

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.