2024年8月20日(火) 5:52 Koichi Murase <myoga.mur...@gmail.com>:
> 2024年8月20日(火) 2:25 Martin D Kealey <mar...@kurahaupo.gen.nz>:
> > Perhaps a compromise would be to put the documentation in a directory
> > that's not inside the source code directory, so it's easier to `git diff`
> > just one or the other.  (In practice, that would mean moving some of the
> > code into a new subdirectory.)
>
> One can put "<filename pattern> diff=no" in .git/info/attributes to
> ignore these files in `git diff'. Mine is something like

I forgot to mention that I I have the following lines in my ~/.gitconfig:

[diff "no"]
        command = /bin/true

Reply via email to