Thread (1 message) 1 message, 1 author, 2016-06-15

Re: How to exclude files from "git diff"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:58

"H.J. Lu" [off-list ref] writes:
On Tue, Jan 5, 2010 at 9:54 AM, Dmitry Potapov [off-list ref] wrote:
quoted
On Tue, Jan 5, 2010 at 5:20 PM, H.J. Lu [off-list ref] wrote:
quoted
Yes, I want those files in repository. They are for my personal use only.
If you modified some file locally and do not want to see and commit
those modifications, you may want to use:

git update-index --assume-unchanged foo
I added those files into my repository for bookkeeping purpose. It
shouldn't go out at all.
Sounds like time to run "rm --cached" to me.  IOW, keep it untracked.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help