emacs24 - Repository creation in emacs git -
how can create repository in emacs git, there emacs command?
just installed git.el in site-lisp directory can't find info anywhere.
already managed use ready git repository, couldn't create 1 within emacs.
thanks!
how can create repository in emacs git, there emacs command?
it doesn't git.el
supports this. it focused around git-status
command, prompts root directory , complains when give 1 isn't initialized.
however, emacs' built-in vc mode vc-create-repo
command:
create empty repository in current directory.
make sure (require 'vc)
somewhere, cd
target directory (or visit file in it), m-x vc-create-repo ret
. vc mode supports many version control backends, when prompted, type git
(tab-completion available here).
finally, there excellent git mode called magit supports creating repositories. if given directory isn't repository, magit-status
command ask if want create one. magit available via melpa.
Comments
Post a Comment