Skip to content

.gitattributes overwrite issue #599

Open
@paxri01

Description

Describe the Bug

When running pdk update --template-ref 3.3.0, pdk is overwriting the existing .gitattributes file (which is configured for git-lfs) within the module. Adding .gitattributes to .pdkignore has no effect.

Expected Behavior

pdk update honors .pdkignore list and not overwrite .gitattributes.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Edit .gitattributes file within the module.
  2. Add /.gitattributes to .pdkignore file.
  3. Run pdk update --template-ref 3.3.0
  4. Observe changes to .gitattributes.

Environment

  • Version 3.3.0
  • Platform RHEL9

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions