Skip to content

K0HAX/git-load

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Git Load

Load git repositories as packages.

Installation

If you’re hooked up to MELPA (as of 6-24-2016 this package is not in MELPA yet):

M-x package-refresh-contents
M-x package-install RET git-load

Alternatively

(unless (git-repo? "~/.emacs.d/git/git-load")
  (progn
    (let ((git-repo "~/.emacs.d/git/"))
      (git-clone "https://github.com/k0hax/git-load.git"))))
(add-to-list 'load-path "~/.emacs.d/git/git-load")
(load "git-load")

Usage

The original reason I wrote this code is because MELPA’s version of helm-spotify was out of date, and I wanted to test a new version. Here’s an example of how to do that.

(eval-after-load "git-load"
  (git-load "https://github.com/pschorf/helm-spotify.git" "helm-spotify"))

Advanced usage

If you would like to change the git directory, which is ~/.emacs.d/git/ by default. You may change git-load-default-directory

About

Emacs git-load.el to load packages directly from Git repositories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published