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
Community Members
Community Events
Community Groups

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
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,169 views 2 9
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