After forking a repo (Repo A) to Repo B, I've cloned a copy onto my PC using Git Desktop. I've then rolled back Repo B to an older commit using CLI and now want to push the change using Git Desktop. I keep getting a permission denied error.
I have added the lines for Windows 10 as per how to log out of one Github account and use another account? however it makes no difference, still having the same issue.
Running git push from the CLI and entering my credentials, I still get "! [remote rejected] master -> master (permission denied) error: failed to push some refs to'"