C
C#13mo ago
M B V R K

✅ Issue during pushing a commit to GitHub from VS Code

Hi friends, I'm working on a project using VS Code, I used VS Code to clon that project from my Github repository, everything is okay, after creating a Commit (it created successfully ), but the issue is when I press Sync Changes to push that commit to my repository I get an issue that recorded in the attached video. Please any help to fix this issue ???? and massive thanks in advance <3
6 Replies
M B V R K
M B V R KOP13mo ago
Thanks to ChatGPT, he helped me temporarly by this solution : https://chat.openai.com/share/20d681bd-2749-401f-a4d3-ada761acf70f
ChatGPT
GitHub Push Error 403
Shared by MBARK T3STO via ChatGPT
M B V R K
M B V R KOP13mo ago
I said temp because the token as you know wil be expired in 30 days, so I need a permanent solution, and thanks in advance <3
ZacharyPatten
ZacharyPatten13mo ago
have you use git before? It could be your git configuration: https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration try running a git push from the command line and tell us if you get an error (but only do that when you are ready to push code). "push" will attempt to push your local commits to your repo
M B V R K
M B V R KOP13mo ago
Yes I did but it gaves me the same error as the error shown in the video
ZacharyPatten
ZacharyPatten13mo ago
do you see your username and email when you run git config --list
M B V R K
M B V R KOP13mo ago
yeah it gives me the correct ones Fuuuuuuuuuuuuuuuuuck to Visual Studio, the main issue came from Visual Studio because I have logged into my another Github account and mf Visual Studio made that account as the global/default git/Github account, but when I logged out from it and re-logged into my repository original account the issue was fixed Thanks
Want results from more Discord servers?
Add your server