git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* re-ignoring a force added file
@ 2013-08-13 18:31 Raza Ali
  2013-08-14  9:22 ` Thomas Rast
  0 siblings, 1 reply; 2+ messages in thread
From: Raza Ali @ 2013-08-13 18:31 UTC (permalink / raw)
  To: git

Dear Git Mailing List,

I have force added a file we usually like to ignore (but keep in the 
repository). That was a change a while ago, and cannot be undone without 
serious pain. I would like to re-ignore the file though, as we dont want 
to track changes to it. Some of the options I came across are not useful 
for me. For example

git rm --cached FILE // removes the file from the remote repository if I 
push, not desirable
git update-index --assume-unchanged //Will ignore changes to the file 
locally, but someone else clones and the file is tracked for them.

What we would like is to go back to the old state of affairs: the file 
was in the working directory when someone cloned from the remote 
repository, but changes to the file werent tracked or committed.

Any help would be appreciated.

regards

Raza

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-14  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 18:31 re-ignoring a force added file Raza Ali
2013-08-14  9:22 ` Thomas Rast

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).