README, archives2git: move the examples to the script
[archives2git.git] / README
blob8999c7d8e16e015fb5a1f247234b951df5468eeb
1 README for archives2git
2 =======================
4 `archives2git` is intended to recreate a poor-man's history from the (release)
5 archives of a project.  It is an sh script that commits the given file archives
6 to a Git repository as a series of commits; by default the commit (sub-)trees
7 will replicate the contents of their corresponding archive.
9 Resources
10 ---------
12 For the documentation see the manual of linkpage:archives2git[1] (or the help
13 message output), then look inside the configuration file example
14 link:archives2gitrc[.archives2gitrc] and finally inside the
15 link:archives2git[script].
17 Basic usage:
19         $ cd git-repo # may be a subdir of the toplevel of a repo
20         $ GIT_AUTHOR_NAME="Firstname Lastname" GIT_AUTHOR_EMAIL=user@host \
21           archives2git --tag ../oldproject-?.??.tar.gz
23 Limitions & Bugs
24 ----------------
26 * Trailing newlines in file names are not supported.
28 Dependencies
29 ------------
31 * POSIX `sh`
32 * `mktemp`
33 * `aunpack` from link:http://www.nongnu.org/atool/[atool]
34 * `git`