Search code examples
githubgit-lfs

"Not in a git repository" error in git-lfs


I have a over 100 mb csv file that i would like to upload to github using lfs. However, i am facing this issue (Screenshot added). I have put the csv file in the local folder where the repository is located.

enter image description here


Solution

  • You have to init a new repository or clone an existing repository first.