Closed ngqazz closed 1 year ago
I cloned a repo, did some edits, and tried to push to my own repo. This gave me the error
fatal: unable to access 'https://github.com/matterport/Mask_RCNN.git/': The requested URL returned error: 403
So I checked
1. git remote -v 2. git remote rm origin
1. git remote -v
2. git remote rm origin
Checked now that git remote -v is empty Then added the correct URL
git remote -v
1. git remote add origin git@github.com:magedhelmy1/x.git 2. git push -u origin master
1. git remote add origin git@github.com:magedhelmy1/x.git
2. git push -u origin master
Originally posted by @magedhelmy1 in https://github.com/trilbymedia/grav-plugin-git-sync/issues/39#issuecomment-671198944 thanks
fatal: unable to access 'https://github.com/matterport/Mask_RCNN.git/': The requested URL returned error: 403
So I checked
1. git remote -v
2. git remote rm origin
Checked now that
git remote -v
is empty Then added the correct URL1. git remote add origin git@github.com:magedhelmy1/x.git
2. git push -u origin master
Originally posted by @magedhelmy1 in https://github.com/trilbymedia/grav-plugin-git-sync/issues/39#issuecomment-671198944 thanks