diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-06 17:17:30 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-06 17:17:30 -0500 |
commit | 41f247b00d7166fe9c615013e5d192aff651c542 (patch) | |
tree | 42b77046122a51608b08f881acc7986848dc83b0 /README | |
parent | b9a4ae91f2130b4c59c504ffd16c53cf231400f9 (diff) |
add an example of untracking a file
Diffstat (limited to 'README')
-rw-r--r-- | README | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |