Git issue

my ssh token expired. when i created a new token i couldnt be able to connect with it. kindly give a step by step solution. that will be useful for the future, i have added the screenshot

you have messed the git remote.
you added your token in the remote origin name.

it should be like this

git remote set-url origin git@github.com:your-username/your-repo.git

remove the .git folder.
it will delete all the git repo references.

then start from beginning.

https://rogerdudler.github.io/git-guide/

1 Like

delete the token on github as it is shared here in public.

create new token and use it.

1 Like