3

Can gitHeadInfo.gin be safely added to .gitignore without interfering with gitinfo's proper functioning ?

I'm asking this, cuz currently (using gitinfo) git's working directory is never clean: # modified: gitHeadInfo.gin and this just seems a bit "untidy".

  • @Brent.Longborough – nutty about natty Jul 9 '13 at 7:58
  • Could you elaborate more how this is related to LaTeX? I don't see a strong correlation with the site? – Claudio Fiandrino Jul 9 '13 at 7:58
  • 1
    @ClaudioFiandrino ctan.org/pkg/gitinfo ? – nutty about natty Jul 9 '13 at 7:59
  • 1
    I agree, it was untidy. In the new replacement, gitinfo2, gitHeadInfo.gin now lives in the .git/ directory. – Brent.Longborough May 18 '14 at 10:14
1

This perhaps depends a bit on your workflow, but I always exlude it from being tracked by git. For me this seems to work fine. I usually have some git hooks for updating the .gin file after a commit etc. Maybe not the most elegant way, but I do not see any problems.

  • In case anybody wonders how to remove gitHeadInfo.gin from .gitignore: See here or (equivalently) here. – nutty about natty Jul 9 '13 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.