2

I have tried the following solution but .gitignore overriding the unignore line.

!/bin/

after compilation, it overrides as follows

!/bin/
/bin/
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250

2 Answers2

2

Found these settings on microfocus Enterprise Developer :

Windows -> Preferences -> Team - Git -> Projects -> "Automatically ignore derived resources by adding them to .gitignore"

After removing or unchecking the line, it stopped updating /bin/ line on gitignore

1

If the microfocus compiler is somehow changing the main .gitignore, see if adding a .gitignore in bin/ itself would help, with the content

!./

The alternative would be to wrap the compiler call with a script which would:

  • save the .gitignore content
  • call the compiler
  • then restore the .gitignore content.
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Found these settings on microfocus Enterprise Developer : Windows -> Preferences -> Team - Git -> Projects -> "Automatically ignore derived resources by adding them to .gitignore" After removing or uncheck the line, it stopped updating /bin/ line on gitignore – veera venkata ramesh chode May 11 '21 at 19:24