Difference between revisions of "Emacs-VersionControl"
From Coder Merlin
Line 3: | Line 3: | ||
== Useful Commands == | == Useful Commands == | ||
* Add file to version control : vc-register -- add a new file to version control | |||
** '''C-x v i''' (last character is a lower-case I) | |||
* Compare current version with repository : vc-diff -- diff with other revisions | * Compare current version with repository : vc-diff -- diff with other revisions | ||
** '''C-x v =''' | ** '''C-x v =''' | ||
* Show log : vc-print-log -- show log | |||
** '''C-x v l''' (last character is a lower-case L) | |||
* Show status : vc-directory -- show all files which are not up to date | |||
** '''C-x v d''' | |||
* Revert buffer : vc-revert-buffer -- undo checkout | * Revert buffer : vc-revert-buffer -- undo checkout | ||
** '''C-x v u''' | ** '''C-x v u''' |
Revision as of 19:24, 22 November 2018
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Version Control Within Emacs[edit]
- Reference: Emacs Version Control (from Wiki)
Useful Commands[edit]
- Add file to version control : vc-register -- add a new file to version control
- C-x v i (last character is a lower-case I)
- Compare current version with repository : vc-diff -- diff with other revisions
- C-x v =
- Show log : vc-print-log -- show log
- C-x v l (last character is a lower-case L)
- Show status : vc-directory -- show all files which are not up to date
- C-x v d
- Revert buffer : vc-revert-buffer -- undo checkout
- C-x v u