I am pushing my commits from one branch to another branch of a forked repository, however I am getting an error of:
warning: invalid credential line: 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
remote: Permission to Yadnik1/zephyr-1.git denied to Yadnik1.
fatal: unable to access ‘https://github.com/Yadnik1/zephyr-1.git/’: The requested URL returned error: 403
I tried all approaches from here:github - Pushing to Git returning Error Code 403 fatal: HTTP request failed - Stack Overflow
However I am getting same error.
Can someone please guide me.