diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-06 00:09:05 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-06 00:09:05 -0500 |
commit | a9c4fe62edabb7dbb4970edbe15ba6ed146eba1a (patch) | |
tree | 1cdf579f7b5ec3d2f93de7895129217fdb25010d /README | |
parent | ad7202a18498d46420aefba9b0746ea187dd0472 (diff) |
rationallised directory handling
Default to cding to /etc, but allow the user to specify another directory
to operate on.
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,6 @@ contains such special files. A quick walkthrough of using etckeeper. - cd /etc etckeeper init The `etckeeper init` command initialises an /etc/.git/ repository. This @@ -74,6 +73,7 @@ commit. So you might want to use git status to check that it includes all the right files, and none of the wrong files. And you can edit the .gitignore and so forth. Once you're ready: + cd /etc git commit -m "initial checkin" git gc # pack git repo to save a lot of space @@ -105,7 +105,7 @@ shadow, before `etckeeper init` fixes their permissions: chmod 700 . git clone /etc cd etc - etckeeper init + etckeeper init . chmod 755 .. Another common reason to clone the repository is to make a backup to a |