Hey guys I am the owner of my GitHub repo and I have the right login on VSC. I when I searched my problem I came to a few results.
CodePudding user response:
ok guys look you must do 2 things
close out of all things follow this answer on here Git - remote: Repository not found
and go to the computer folder and find your folder you have the repository on go to view then click show hidden items (look where my mouse is) https://imgur.com/a/jHYi3yd and delete the grey-ed .git folder
if you get the error were it wont let you delete close out of every thing but the folder and delete it.
optional but provides best results: then go to the web github repository and delete it. (only works if you are the owner obviously)
You will need to sign into github again on desktop app if you have it and make a new repository. It should work.
CodePudding user response:
At this point, I would recommend:
- switching to command line (for testing)
- git clone your repository (
git clone https://github.com/Thatonerookiedev/full-stack
) - switching back to GitHub Desktop and opening that local repository.
If, after creating a local commit, you cannot push, check your git config --global credential.helper
It should be set to manager-core
.
Check the credentials stored for github.com
with:
printf "host=github.com\nprotocol=https" | git-credential-manager-core get
Make sure a GitHub PAT (Personal Access Token) is stored there as password.