2012-06-21 21:24:54 +02:00
|
|
|
#+TITLE: git-auto-commit-mode
|
2013-01-11 01:16:41 +01:00
|
|
|
#+LINK: src http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/
|
|
|
|
#+LINK: tar_gz http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/snapshot/git-auto-commit-mode-master.tar.gz
|
|
|
|
#+LINK: zip http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/snapshot/git-auto-commit-mode-master.zip
|
2013-01-19 02:48:40 +01:00
|
|
|
#+LINK: readme http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/about/
|
|
|
|
#+LINK: manual http://ryulash.org/projects/git-auto-commit-mode/manual/
|
2012-07-01 14:17:54 +02:00
|
|
|
#+STARTUP: showall
|
|
|
|
|
|
|
|
#+begin_html
|
|
|
|
<script src="/keyjs.js" type="text/javascript"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
keyjs_initialize({ "u": [ "keyjs_goto", "../index.html" ],
|
|
|
|
"h": [ "keyjs_goto", "http://ryuslash.org" ] });
|
|
|
|
</script>
|
|
|
|
#+end_html
|
2012-06-21 21:24:54 +02:00
|
|
|
|
|
|
|
#+INCLUDE: "dlmenu.inc"
|
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
* What does it do?
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-11 01:16:41 +01:00
|
|
|
~git-auto-commit-mode~ is a minor mode for GNU Emacs that, when
|
2013-01-19 02:48:40 +01:00
|
|
|
enabled, tries to commit changes to a file after every save. It can
|
2013-01-11 01:16:41 +01:00
|
|
|
also try to push to the default upstream.
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
* Why was it written?
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
Some projects / files don't need a very fancy commit log or anything
|
|
|
|
and are typically only modified in small ways. Configuration files
|
|
|
|
are a good example, where most changes are just single lines added,
|
|
|
|
removed or changed. In these projects it can save some effort to
|
|
|
|
just automatically commit them after every change.
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
* Who is it for?
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
Anyone who makes a lot of small, separate, changes to a bunch if
|
|
|
|
git-tracked files and is tired of always having to go through the
|
|
|
|
=git add; git commit -m description= process.
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
* Data
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
| Version | 0 (development only) |
|
|
|
|
| Language | Emacs Lisp |
|
|
|
|
| License | GPLv3 |
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
** Features
|
2012-06-21 21:24:54 +02:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
- Automatically commit changes to a file after each save.
|
|
|
|
- The commit message will contain the file name relative to the
|
|
|
|
repository root.
|
|
|
|
- Optionally, automatically push commits to the default upstream.
|
2013-01-11 01:16:41 +01:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
** Dependencies
|
2013-01-11 01:16:41 +01:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
- [[http://gnu.org/software/emacs][GNU Emacs]] :: It is developed using Emacs 24, though I am not
|
|
|
|
averse to supporting older versions.
|
|
|
|
- [[http://git-scm.com][git]] :: I am not aware of any version restrictions.
|
2013-01-11 01:16:41 +01:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
* More...
|
2013-01-11 01:16:41 +01:00
|
|
|
|
2013-01-19 02:48:40 +01:00
|
|
|
For further instructinos I would refer you to the [[readme][README]] and [[manual]].
|