summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-06 17:17:30 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-06 17:17:30 -0500
commit41f247b00d7166fe9c615013e5d192aff651c542 (patch)
tree42b77046122a51608b08f881acc7986848dc83b0 /README
parentb9a4ae91f2130b4c59c504ffd16c53cf231400f9 (diff)
add an example of untracking a file
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 6 insertions, 1 deletions
diff --git a/README b/README
index 1adfaef..7ec20b2 100644
--- a/README
+++ b/README
@@ -86,7 +86,12 @@ further changes:
git status
git commit -a -m "changed a password"
-Rinse, lather, repeat.
+Rinse, lather, repeat. You might find that some files are changed by
+daemons and shouldn't be tracked by git. These can be removed from git:
+
+ git rm --cached printcap # modified by CUPS
+ echo printcap >> .gitignore
+ git commit -a -m "don't track printcap"
etckeeper hooks into apt so changes to interesting files in /etc caused by
installing or upgrading packages will automatically be committed. Here