Menu

#3 Add .gitignore

Next_Release_
closed
None
5
2018-04-22
2018-02-26
No

It would be useful to add a .gitignore file to the repository so that one can see which files are effectively tracked by git. I've attached the one I've been using, which includes all autogenerated files, and also the patches/ directory, since the patches don't need to be tracked. I also untracked configure (git rm --cached configure) since it's an autogenerated file.

1 Attachments

Discussion

  • Paulo Marcel Coelho Aragão

    I've just discovered that Makefile.in and aclocal.m4 are also autogenerated, so I unstaged them (git rm --cached Makefile.in aclocal.m4), and added them to .gitignore, so that there are no autogenerated tracked files.

     
  • Philip Lyons

    Philip Lyons - 2018-04-22
    • status: open --> closed
    • assigned_to: Philip Lyons
     
  • Philip Lyons

    Philip Lyons - 2018-04-22

    Approved.

     

Log in to post a comment.