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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,552,691
Community Members
 
Community Events
184
Community Groups

Unable to push a commit github

Deleted user Mar 15, 2019

Hi!

I wasn't able to push a commit to the repository on github. It gave me the following message:

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/master:refs/heads/master

Pushing to https://username@github.com/username/folder.git

remote: Permission to username/folder.git denied to username.

fatal: unable to access 'https://username@github.com/username/folder.git/': The requested URL returned error: 403

Please help me! Thanks!

1 answer

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 19, 2019

Hi

What form of authentication are you using ? username/password, OAuth or an a Personal Access Token?

Is it possible that credentials don't have the right permissions for that repository? 

Hi!

I am using OAuth as suggested. Do you know how I can check if the credentials have the permissions to that repository? Thanks!

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 20, 2019

Good question.

I'd check the permissions for that particular repository, check which users have which rights and check you are on there with write permission

Hi!

Yes, I have the permission to write to the repository. That's why I am pretty confusing. I was suggested to change the username/password. Do you know how to do that? 

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 20, 2019

Can I check are you on mac or windows?

I'm assuming you would need to change the credentials on GitHub first and then clear out any old credentials locally.  On Windows this would be by deleting any 'git:' prefixed entries in the Windows Credential Manager. 

I’m using a Mac with the latest version. My Sourcetree is 3.1.1. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events