Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

2,346 views 4 3
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