Skip to content

.gitattributes behavior #171

@zszabo14

Description

@zszabo14

Hi Team,

I had an issue with .gitattributes. I did the following actions:

in .gitattributes I had the following line: *.yml zos-working-tree-encoding=ibm-1047 git-encoding=utf-8 which turned out to be wrong.

  • I changed this line but the yaml file on the system remained IBM-1047
  • Then I deleted the yaml file, committed and pushed. The file was deleted from the system.
  • I created a new yaml file for testing and committed and pushed. The file created and it was in a correct encoding.
  • I re-created the original yaml file on the same name and content. Committed and pushed and the file is created on the system, but with the old encoding IBM-1047.
    It looks like the file is not created as new, but it is the old one from git history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions