XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2.1.2.5
    • None
    • All environments

    • Severity 3 - Minor

      git ls-files --others --exclude-from=.git/info/exclude

      1. Lines that start with '#' are comments.
      1. For a project mostly in C, the following would be a good set of
      1. exclude patterns (uncomment them if you want to use them):
      1. *.[oa]
      1. *~
      1. Cobol

       

      *

       

       

      !Copybook/

      !Copybook/*.cob

       

      #Alt-Zs

       

      apolcrp1.cob

      arbenr11.cob

      AMATURIT.cob

      termmyga.cob

      runsquot.cob

      arelarpt.cob

      rungridr.cob

       

      !Source/

      !Source/*.cob

      Source/apolcrp3.cob

       

      !Screens/

      !Screens/*.h

      LPKEYS.H

       

      !Screens/*.rc

      stempcpy.rc

       

       

       

      The above is a copy of the .gitignore file that I've converted to the exclude file. While it was in a global .gitignore file the Alt-Zs were being ignored as expected. However once I changed the logic to the exclude file SourceTree no longer is ignoring them. It's treating them as new files.

       

      Please advise as to why the logic doesn't work for the exclude file and what I need to type differently to ensure that it does.

       

      Thanks!

              Unassigned Unassigned
              999dee34fb3d Chris Bahls
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified