Laravel Forge Github Repository Error - github

I am trying to connect my Laravel Forge (digitalocean) server to my Github repo like I've done many times in the past, however, this time it is giving an error saying
You must specify a repository to clone.
However, when I go into the command line and do a git clone of the branch and repository, it works fine. Any ideas what might cause this? I have my SSH key for Forge added to Github already.
Thanks,

I ended up deleting the site on forge and reinstalling and it works now. Not sure exactly why it wasn't recognizing the repository, but it works now.

Related

make GitKraken forget GitHub credentials

I cloned a project from Github, which went well. Then I pulled once and accidently entered the wrong credentials. Now I always get "failed to get server certificate: The handle is in the wrong state for the requested operation". So this looks like that problem but it can't be that TLS issue because cloning from that Github repo worked just a few minutes before (not anymore now). How can I make GitKraken forget my Github credentials? Settings→Integrations→GitHub→Disconnect did not do the trick. Adding a GitKraken SSH key to GitHub did not help either.
Update: Now I tried Forget All. The problem now is that GitKraken is asking me again and again for my credentials. But login to GitHub in browsers work. Why?
In the end I cloned the project again. Maybe this workaround also works for others.

Can't fork a repository on GitHub

I'm trying to fork this repository, but getting an error message:
You can't fork this repository at this time.
I've read the license, and tried forking from another computer using VPN, in case of security conflict of my browser and GitHub, but it still don't work, and I can't even guess why so. Please tell me, what am I doing wrong?
This also happens if the user has blocked you
Tested today, May 2021.
A similar related message if you try to open an issue on a repository whose owner blocked you is:
You can't perform that action at this time.
You can just manually create a new repository and reupload the code there however. You just won't be able to send pull requests.
That sounds like a temporary GitHub issue.
Creating a fork isn't dependent of a license or vpn. It's just a http call in your browser.
Update: I forked the repo without issue.
If you already have a fork of the original repo, you cannot have another fork.
You can add the other repo as a remote though and use code from there.

Blogdown - window to stage and commit changes no longer appears

I recently created a website using blogdown and now hosting it on a GitHub repository and netlify to deploy. When I set it up, I followed the directions to clone my GitHub repository to be able to commit files using the git version control. So making changes within Rmarkdown and then committing them to my GitHub repository was easy.
However, when I connect to the project now, the window where I can commit changes does not appear. That is, I no longer have the option to commit changes within R studio. My guess is that the connection between the terminal and GitHub was changed/removed? Does anyone know how to re-establish this? I've looked up the syntax to use in the terminal, but I couldn't find a similar problem - that is, re-establish the connection between my GitHub with an already existing project already on my desktop.
Posting an answer to this question in the case others have a problem. It was an issue with MojaveOS. You have to re-install command line tools in the terminal.
xcode-select --install
Doing this, the version control now works to commit files to my github repository.

GitHub 'your credentials may be out of date' can't clone

I have tried logging out and in, changing password and non work.
I also downloaded the project as zip and put it in the folder. But I can't 'find' it on github client for windows and I cannot clone it then it tells me the project already exist. But I can't open the repository on github for windows. I have deleted Github for windows and re-installed it. I've removed the SSH on github.com so it would make new keys. None work. Any suggestions?
I am getting this error:
http://snag.gy/eHlqj.jpg
So no specific reason at all but;
It was almost 5 months that I was part of this private project. 5 of us are committing almost every day for the past 5 months. Only I had this problem so far.
What helped:
Uninstall github
use something like ccleaner to clean your pc and registry
remove %AppData%\GitHub manually
remove %LocalAppData%\GitHub manually
restart
go to www.github.com in your account and remove the SSH key's.
install github client and login
done, it should work now
It seems that this is a problem of web credentials, have you tried with another browser? or to clear the cache of Chrome?

How to undo the sync to get the files in local repo back?

I'm very new to github and I started using it a few weeks ago for my uni group project.
The problem that I'm having is:
There is a remote repo on github where everyone in the group is using.
I do have a local repo on my laptop, where I've worked my part of the project.
I recently committed and synced the updates that I made to github using desktop app for mac.
I got a few errors and the sync failed.
After that when I looked at the files that I have locally, they got overwritten by the ones from the git(non-updated version) and all of my work are gone.
Can you please help me on what I should do to receive the files that I had locally? Is there any way that I can undo that last sync. I found a few suggestions online, but since I'm not sure which one to use, I don't really want to mess up the files anymore.
Thanks
(Nearly) All changes made to git repositories can be undo. We don't know the commands you entered but enter it at Google for a specific solution.
You proberly have to use something like:
$git rebase