push - git fatal error when pushing md file to Github -
this driving me crazy. i'm running git on mac osx 10.10.3
i keep getting "does not appear git repository" message when trying upload md file github, here's get:
git push origin master fatal: 'github.com/bbenavides/datasciencecoursera.git' not appear git repository fatal: not read remote repository. please make sure have correct access rights , repository exists.
any appreciated thank you.
it looks remote isn't configured properly. can view configured remotes with
git remote -v
github remotes like
git@github.com:user/repo.git
ssh connections (notegit@
,:
), orhttps://github.com/user/repo.git
(notehttps://
) http connections
your remote appears http remote without protocol portion.
to update remote (assuming name origin
; can see in output of git remote -v
before):
git remote set-url origin https://github.com/bbenavides/datasciencecoursera.git git remote set-url --push origin https://github.com/bbenavides/datasciencecoursera.git
it's best copy url directly github, helps prevent these kinds of typos.
Comments
Post a Comment