My initial commit contained some log files. I've added *log to my .ignorefiles, and now I want to remove the log files from my repository. git rm mylogfile.log will also remove it from the local file system.
views:
699answers:
1Thanks! I'm not sure how I missed this in man ... "When --cached is given, the staged content has to match either the tip of the branch or the file on disk, allowing the file to be removed from just the index."
bic72
2009-07-17 15:15:16