Git LFS for Magit, glorious Git client for Emacs!
- In your emacs setting file, initialize melpa package.
- Follows instruction for your package managing method.
-
For
package.el
-
Install magit and magit-lfs via
package-install
command. -
Write following codes to your emacs setting file. (usually
.emacs
or.emacs.d/init.el
)(require 'package) ;; package repository settings (package-initialize) ;; Settings ... (require 'magit) ;; Settings ... (require 'magit-lfs)
-
-
For
use-package.el
-
Install magit and load it.
-
Write following codes to your emacs setting file.
(require 'package) (require 'use-package) ;; Settings ... (package-initialize) ;; After load magit (use-package magit-lfs :ensure t :pin melpa)
-
-
For
req-package.el
-
Write following codes to your emacs settings file.
(require 'package) ;; Settings ... (package-initialize) ;; Settings ... (require 'req-package) ;; Settings ... (req-package magit-lfs :loader :elpa :pin melpa :require (magit))
-
-
:
Initial commands for magit-lfs.f
git lfs fetchF
git lfs Pulli
git lfs installP
git lfs pushU
git lfs update!
git lfs fsck
The bindings for the initial popup were &
and @
, but they conflicted with bindings for other magit bindings, so I changed the binding to :
- Core functionality
[2/3]
- Make magit popup
- Checking git lfs status
- Connect to git lfs
- Command specific functionality
[6/12]
- checkout
- fetch
- fsck
- install
- logs
- ls-files
- pull
- push
- status
- track
- untrack
- update