Today I added an SSH key on to my GitHub account. When I try and clone a repo to that machine, I get the following error:
I visited the /settings/keys GitHub page but I do not see an "Approve" button next to the key I just added.
The guide here from GitHub says there should be an "Approve" button. When I try to refresh the keys page, sometimes the newly added key disappears, then sometimes it reappears. I have tried deleting it and adding it back, but I get the same error.
Am I doing anything wrong here? Any help is appreciated. Thanks!
Related
I started my github account and I used a chat room handle for the root folder so that when you go to github.com/caverdude it's my stuff. I'd now like to change this caverdude to something more professional. Like my business name, or my name or something.
A google search turned up something totally different like changing the root folder in a repository.
Man, I've been there. I believe once you change your github username it will effectively change your repo root url.
fyi - I believe they will create redirects from the old urls to the new ones but only so long as another caverdude account isn't created. If another user named caverdude comes along at a later time the redirects from the old name to your new name will stop working.
Recently on a project I followed but hadn't really bookmarked or forked changed their name to something mysterious and it was a brief mystery as their old profile showed Github's custom 404/ not found. Eventually I tracked it back to their new, not-very-obvious name. All this to say, the whole "old redirects to new account" seems a might bit tenuous.
You can change your username in your account settings:
Click profile picture
Settings
Account
Change username
This will change your root folder on your profile page to the new username, and any links with your old name will show 404 error. So, you’ll need to update your links, but your repos will be updated with your new username. Here is the article from GitHub docs which gives you the steps and what happens after changing usernames :). Hope that helps, take care!
There is a manual https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue
and I cannot complete the 4th step because I cannot find "Linked issues".
just write #issue number in pull request description to link the isuue
you can also write fixes #issue number closes #issue number to automatically close an issue when your pull request is accepted and merged
if you are the owner of the repository you can link an issue by clicking the setting icon in the Linked Issues on the right sidebar but if you are an outside contributor then you cant use it to change or link any issue you can only see which issues are linked
I'm trying to add a user to have permissions for a repo I have recently setup. I've been able to add this same user to repos previously, it's not something that I do frequently though and looking at the online documentation it show's a '+' button should be visible (see below)
However there is no '+' button visible to me (either initially or after I search and select the person I want to add), see below:
I do not believe any permissions have changed for my login since I last did this for another repo, so I wouldn't expect the '+' button to be hidden from me.
I've just worked this out (was staring me in the face in fact) - basically they seem to have changed the UI; there's no '+' button now, the options appear to the left and altering these 'adds' the person to the repo!
I have tried following
this Stack Overflow Question
EDIT: The issue is that I do not have the "Settings" tab!
using the instructions in
GitHub Help to get to the settings page.
I just get a 404 for the page.
Is it because my repo is public? If so, how do I delete a public repo?
This is a solution obtained using their site (not the shell).
If you want to delete a public repo from their site, you must first click on the name of the repo in your profile main page.
After that, you'll see a bar with several tabs in the top of your window ('Code, 'Issues', 'Pull request' and 'Settings' are just some of the tabs).
Click on 'Settings', as pointed out in the answer you've already seen, scroll down until you find the 'Danger zone', then 'Delete this repository'.
Are you sure you have permissions to delete that repository? Obviously you can delete only repositories that you own (either public or private).
Hope this helps
Edit
If the issue is that you don't have the 'Settings' tab, you can reach repository settings remembering that url has the form https://github.com/username/repo_name/settings .
I had a GitHub account named "ericthelam73" and a subsequent website along with it (at ericthelam73.github.io). I set up A Records to link it and ericblam.com, as specified on GitHub's help page.
Recently, I changed my username to "ericblam". I moved the repo ericthelam73.github.io to ericblam.github.io as well. It seemed to have worked.
Every now and then, when I try going to ericblam.com or even ericblam.github.io, nothing happens. It is like I entered nothing into the browser. The other day this happened, but after a little while I was once again able to access my web page.
Is there a reason for this behavior? Did I forget to change something during the migration from one username to another?