Skip to content

git lfs track doesn't make file paths relative to working dir #230

@MSch

Description

@MSch

Given a git repo in /Users/msch/work/foo:

git lfs track /Users/msch/work/foo/testcases/bigfile.pdf

leads to this .gitattributes file:

/Users/msch/work/foo/testcases/bigfile.pdf filter=lfs -crlf

when it should lead to this .gitattributes file:

testcases/bigfile.pdf filter=lfs -crlf

Metadata

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