Interactively view changes in current file. And with the git-diff-file-idiff command ( d e) you can The git-diff-file-base command ( d b) allows you to find differencesīetween current and base file. Them is the git-diff-file command, that you can call with the = or d The d key is prefix key for all changes-related commands. Repository with the git-log-file command ( l key). Of changes - with the git-revert-file command ( U key). This could be done with the git-ignore-file command ( i).Ĭommitting of changes is performed with the git-commit-file command ( c key), and reverting To hide files that are stored inĭirectory, but not registered in repository, you can put them into list of ignored files. You can add new files to repository with the git-add-file command ( a key), and removeįiles with the git-remove-file command ( r key). InĬase, if you've got conflicts during merge, you can run conflict resolving command. To open file for view you can use the v key ( git-view-file). The same as in the PCL-CVS package, you can open current file with the git-find-fileĬommand (key RET or f). To inverse selection you can use the git-toggle-all-marks To remove selection mark from all files you can use the git-unmark-allĬommand ( M-DEL key binding). Selection mark you can use u key ( git-unmark-file) or DEL key ( git-unmark-file-up), butįirst command moves cursor one string down after removing of selection, but the second, do Selection is performed withįollowing commands and key bindings: m key ( git-mark-file) marks current file and movesĬursor one line below, M key ( git-mark-all) marks all files in this buffer. Several files and commands will be executed on them. For many commands user can specify numeric prefix,īy default, all commands are executed on file under cursor. User can navigate in the buffer using arrow keys, or with commands git-next-file (keys n
All these commands are available only in this buffer, In this buffer the git-status-mode is enabled, that defines set of commands (andĬorresponding key bindings, many of them match the key bindings of PCL-CVS package - this How this buffer looks like (at the bottom of picture you can see output of diff command). After this analysis, the package creates the *git-status*īuffer, that will be used to perform commands on files. After that, it will performĪnalysis of repository state. Work with package always starts with execution of git-status command, that asks user aboutĭirectory name in which it will search for Git repository. To use git.el, you need to put following line into your initialization file:Īnd after evaluation, you'll get access all commands, provided by this package. Parameter to make, or just copy all files to the directory, where Emacs can find them). $HOME/share/emacs/site-lisp, but you can change this behaviour by passing emacslispdir
#List directory contents in emacs install#
That could also be used to install the package (by default, package is installed into To compile package you need just run make command,
Installation of git.el is very simple - it comes as part of the Git's distribution and
#List directory contents in emacs full#
Implement interfaces, that allow user to get access to full Git power. In firstĬase we work with Git through standard interfaces of VC & DVC, while other packages Packages, or use specialized packages, like: git.el, emacs-git, magit & egg. We can work with Git from Emacs using several packages - either use modules for VC и DVC Was used to for Linux kernel development, but now it's used in the many other open source The git.el package Installation of package Working with git.el Customization The git-emacs package Installation and customisation Work with existing repository Creation of new repositories Work with changes History of changes Work with tags & branches The magit package Installation and customisation Basics of work with package Work with changes Work with history of changes Tags, branches, and remote repositories The egg package Auxiliary packages git-blame gitsum egitĬreation and popularity of Git is closely related to development of Linux.