EmacsFromGit

Getting Emacs from from git

After the release of Emacs 24.4, the Bazaar repository was converted to a Git repository.

The official git repository is available from Emacs’s Savannah page. See this page on Savannah for further instructions on how to clone or browse the repository.

To clone (download) Emacs:

git clone git://git.savannah.gnu.org/emacs.git

You can also get Emacs speedily from git by ignoring a lot of Emacs history. This makes the download size much smaller:

git clone --depth 1 git://git.sv.gnu.org/emacs.git

and if you just want a particular branch

git ls-remote (to see a list of remote branches)
git clone --depth 1 --branch emacs-24.4 git://git.sv.gnu.org/emacs.git

Lars Ingebrigtsen has written a helpful guide on compiling Emacs for Debian and Ubuntu users.

ELPA package sources

The GNU Elpa package repository is also maintained using Git.

You can clone (download) the repository with this command:

git clone git://git.savannah.gnu.org/emacs/elpa.git

Also see


Git CategoryVersionControl