Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1368

Ignoring a file, does not use local .gitignore, but project root.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.0
    • None
    • versioncontrol - Git
    • None

    Description

      In directory structure:

      /Git_Project_Root
      /-- subdir
      /-- /---> .gitignore
      /-- /---> file_to_ignore
      /-- .gitignore
       

      If file_to_ignore is in same directory as .gitignore, when ignored, the root .gitignore is modified instead of the local file.

      Can be a problem if git root is outside of the project, so cannot see the file, and if framework needs this convention.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alextech Alexander Romanenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: