[git-users] How to save file's first commit, but ignore all further changes to this file?

2016-01-06 Thread Tikhon Tarnavsky
Hi all, I need to save some file in my git repo in it's current state, ignoring all changes to it forever. Any suggestions? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from

Re: [git-users] How to save file's first commit, but ignore all further changes to this file?

2016-01-06 Thread Tikhon Tarnavsky
There is an assume-unchanged option you can set with git-update-index, but > that's for your local repository only; it is possible that other developers > will overwrite the file. > > If you tell us some more details, the list may give you better answers or > alternatives,

Re: [git-users] How to save file's first commit, but ignore all further changes to this file?

2016-01-06 Thread Tikhon Tarnavsky
r option I think would work > which might be the better solution is to use a git hook to copy the empty > header files to the working directory after checkout. > > > On 1/6/2016 12:39 PM, Tikhon Tarnavsky wrote: > > I have some "data batches" inside my project. Thes