Git-lfs: 'origin' does not appear to be a git repository

Created on 27 Jun 2018  路  4Comments  路  Source: git-lfs/git-lfs

$ git push origin master
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Most helpful comment

Hi @kervin521, thanks for opening this issue. Please make sure that you have a valid repository configured as your remote named 'origin'. You can see what URL a remote is set to track with the command git remote -v, and you can change the url with git remote set-url origin <url>.

Please let me know if you have any other issues.

All 4 comments

Hi @kervin521, thanks for opening this issue. Please make sure that you have a valid repository configured as your remote named 'origin'. You can see what URL a remote is set to track with the command git remote -v, and you can change the url with git remote set-url origin <url>.

Please let me know if you have any other issues.

if still keep problem you try:
git push -f origin master

Same issue tried both of the above. Not working.

Hey,

This is a Git error not specific to Git LFS and what @ttaylorr said is correct: your remote repository location isn't valid. Trying a force push won't change that. You would need to fix the URL or path such that it points to a valid location.

Was this page helpful?
0 / 5 - 0 ratings