Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,286
Community Members
 
Community Events
165
Community Groups

Differents github's accounts to commit and push in sourcetree

Edited

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
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,923 views 127 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you