GitHub repository disabled when changing from private to public - github

I changed a GitHub repo from private to public and it gives me this error when trying to push changes from the terminal:
ERROR: Repository `user/repo-name' is disabled.
Please ask the owner to check their account.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I can still view the code and make commits but it won’t push the changes. I also am not able to fork the repo - it says that “Cannot fork because repository is locked”. I already have my SSH key working on GitHub, which was the only answer I’ve found when researching this. Everything worked fine before I changed the repo from private to public. Any suggestions?

Contacted GitHub support and they unlocked the repository. It may have happened because I changed the repo from private to public during their outage. Everything works fine now

Related

cannot connect to github, not able to clone or push repo

It was working fine until tomorrow.
But today I am not able to push changes to the repo.
I tried to clone my repo, it also shows the same error.
fatal: unable to access 'https://github.com/nkp1111/python-projects.git/': Failed to connect to github.com port 443 after 21101 ms: Timed out
The same error is showing up. I haven't changed any setting to my knowledge.
It started to clone and stop after one time.
I suspect it is because of antivirus.
What can i do to make it work again?
There can be many causes for the problem, and we will not be able to solve your problem other than suggesting what to do.
have you set any security with temporary credentials? otherwise, it is most possibly also temporary.
try to clone some other repositories, any repository, to test the connection. if you fail to do that, then rest assured it is a temporary GitHub issue.
then try to clone your repo again. if you can clone but can't push back, then you will need to dig into security settings, first on GitHub, then on your computer.
PS: I can clone your repo right now, so I can say GitHub is working toward my country right now.

Could not read from remote github repository

I am trying to push to a github repo but getting an error
ERROR: Permission to microsoft/playwright.git denied to my_user.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Steps I performed:
1- Successfully Cloned the repo using ssh git#github.com:microsoft/playwright.git
2- But when I am trying to push a branch to it I am received an authentication error
3- Prior to cloning I created a new SSH key and added it [as per instructions here ]
4- I also tested my ssh connection using ssh -T git#github.com and it shows success
Warning: Permanently added the RSA host key for IP address '192.xx.xxx.xxx' to the list of known hosts.
Hi user! You've successfully authenticated, but GitHub does not provide shell access.
5- I also re-cloned the repo after restarting my computer but I still am not able to push to the playwright repo
Regarding to the Fork a repo which describes as the following: -
A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.
Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea. You can fork a repository to create a copy of the repository and make changes without affecting the upstream repository.
To collaborate with the public repo, basically we will do the following steps: -
Fork the repo to our own. (in this case, we fork the microsoft/playwright)
Within the forked repo
Make a change/improvement.
Push to the forked repo branch.
If it looks good, then create a pull request back to the upstream to notify them to review and approve.
Sidebar
We may visit the following GitHub documents as a guidance.
Fork a repo
Creating and deleting branches within your repository
About pull requests
Creating a pull request from a fork

GitHub private - collaborator cannot access the repository

One of our users create a private repository within and organisation on GitHub Enterprise. He added a collaborator, but this person get 404 error when trying to access the repo. I added my account to this repo and all works fine for me.
Added collaborator is in the same organisation, repo is visible on his profile, link to repo is fine too (it works for me and repo owner).
I was searching the answer in Internet, but no luck.
Do you have any idea, what can cause this situation?
This usually happens because the user who is having an issue's client isn't properly authenticating.
You can read more about it here: https://developer.github.com/v3/troubleshooting/

Push Error GitKraken

Can't push may changes to the repo with GitKraken.
I have the credentials CORRECT. Since is a private repo, I had to clone the repo via URL. I did that with my user (authorized of course). I DID commits before, and now I just cant push again.
I'm the only one working on this breanch.
Any thoughts?
It was a permission problem. Turn's out I had no permission to writte.

somene got access to my sensitive information accidentally published on github

I accidentally published my production application on a public github repo
just an hour after that someone forked it
I don't know what to do the repo contained all the application credentials and a months of coding he also forked some other repositories
I removed the repo but fork is now public
Is there anyway to remove it?