0

I have a private repository on GitHub that contains a readme.md file with links to Kaggle datasets. When viewing the repo on github prepends "https://github.com/{user}/{repo}/blob/main/" to the url, breaking it.

Why is this happening, and how do I change this behavior?

For what it's worth, I'm also using git-lfs, though I can't find any documentation of this behavior associated with that, either.

Chris Hacker
  • 51
  • 1
  • 1
  • 5

1 Answers1

0

I ended up figuring this out on my own. The URL was missing a scheme, and github was treating it like a relative link to something in the repository. This was my mistake and not an issue with github.

Chris Hacker
  • 51
  • 1
  • 1
  • 5