I have made a react native project on visual studio code. I want to push this project to someone else's git repo.
I did the following:
git remote add origin https://github.com/aasthaverma1212/Android_Project.git
git branch -M main
git push -u origin main
It gave me error that remote: Permission to XXXXXXX/Android_Project.git denied to pXXXXXXXX4. fatal: unable to access 'https://github.com/XXXXXXX/Android_Project.git/': The requested URL returned error: 403
I even tried to do git config --global user.email 'XXXXXXXXXX@gmail.com'
And then again I did git push -u origin main
It still gives me the same error.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…