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

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

Read-access only on a forked repo on

I forked a repo on ( and when I try to push to it from my shell. I get this:

$ git push origin my1stupdates
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
— end of message

Why can't I push to (or anything other than read from) it?  It's my fork.


I've checked all the usual places where I can look in github for security settings and nothing comes up.  When I check the user access, it says view only and I can't  change it.


What good is a tutorial fork when it's inaccessible for modifications to my fork?


Frustration level: high (probably obvious).


Thanks in advance.

1 answer

0 votes

Hi Mark and welcome to the community.

You should be able to make changes to your own fork. If you try editing a file of the repo on Bitbucket website from the Source page of the repo and commit the changes, or create a branch from the Branches page, are you able to perform these actions?

I suspect that the issue you're facing may have to do with authentication from your machine to Bitbucket, and we would need some additional info to troubleshoot the issue and resolve this:

1. First, could you run the command git remote -v in your local clone and confirm that the URL listed for origin is of your own fork?

2. Are you using HTTPS or SSH to push to the repo? You can figure this out from the URL in the output of the git remote -v command.

3. I would like to ask if you could share the output of either of the following commands, depending on what authentication method you use. These commands will provide more verbose output and very possibly an indication of what may be going wrong when trying to authenticate.

If you use HTTPS:

GIT_CURL_VERBOSE=1 git push origin my1stupdates

Please make sure to remove the line that starts with “Authorization:” from the output prior to sharing it here, as it includes credential info.

If you use SSH:

GIT_SSH_COMMAND="ssh -vvv" git push origin my1stupdates

Also, make sure to sanitize any private/sensitive info in the output, e.g. your username, the workspace id.

Please feel free to let me know if you have any questions.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

159 views 0 2
Join discussion

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