Differents github's accounts to commit and push in sourcetree

Arthur_Palone
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2020

Hi everyone,

First of all excuse me for my english i am not a native speaker.

So i have a big issue on sourcetree. I try to push my work to a personal repository on github but the access is denied. The problem is that is denied to an another account that I used before. At least when I commit, it is done with the right account.

I work with IntelliJ and there is no problem for push from it but I prefer manage all my projects with sourcetree. 

I use macOS. I removed all hidden configurations files from "~/Library/Application Support/SourceTree". I reinstalled sourcetree. I redid the configuration of my accounts on sourcetree. I checked my git configuration also. Everything is right, there's no trace of the other account anymore and sourcetree should "push" with the good one but still say to me :

 

Pushing to my-github-repository

remote: Permission to my-github-repository denied to the-other-account

fatal: unable to access 'my-github-repository': The requested URL returned error: 403

 

if anyone has ever had this problem or has an idea on how to fix it that would be awesome.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events