Will changing my GitHub username make websites hosted on GitHub Pages inaccessible? - github

For example, will abc.github.io/verbose/ (abc being my current username) be changed to xyz.github.io/verbose/ when I change my username to xyz? Will it be automated through GitHub actions?

When you attempt to change your username on GitHub, they explicitly mention that no redirects for GitHub Pages will be set up. Therefore, all links pointing to oldname.github.io/verbose/ will no longer work. It is even possible for someone else to register an account (or organisation) using your old username and then host their website there.
Here is a screenshot of the dialog:

Related

Access a git repository of another user

I'm a new Git user and i have to look at the code of a project. the person who called me for that gave me his git access codes (email and password).
For sure, I tried to enter them directly in github website login form, but it ask me to enter a code sent to his own email...
it is for a work, and I don't know what to do... should I ask him to give me this famous verification code?
I got the feeling it is not very secure to process that way.
can you tell me how can I acces the repo with this type of information? the problem is that it is not an invitation to collaborate, but just email and password. Should I disconnect my own git account with my windows terminal to enter his own email and password?
thanks for your help!
For the moment, the owner of this site doesn't answer so that I can't work on his code.
Maybe you can login from your GitHub and then go to that person profile (by searching by username) and then view their repository. Then you can see that repository's code. For this solution, the repository should be public.

Custom domain on GitHub Pages not working properly

I purchased a domain on NameCheap, and followed a step-by-step guide to configure it with GitHub Pages (I'm pretty new to all of this).
But my GitHub page is not using the custom domain even after configured
The first step was to configure the 4 A records and the CNAME with my username in github:
After that I went to the repository that has my username and set up GitHub Pages, and then added my custom domain:
So far, everything worked perfectly, he re-deployed and added a CNAME file to the master branch
But when I try to use GitHub Pages in other repositories, it still gets the old domain (username.github.io)
What I really wanted was for this project to be in custom.domain/project-name
Any light on what I'm doing wrong?
I didn't find anything different from what I did looking at the official documentation
**Of course I didn't use these names from the images, I just removed the original name.

How to make two different GitHub pages as example.github.io and example.github.io/notifications?

My GitHub username is S1Live. I have a repository called notifications. So, a GitHub page has been made as example.github.io/notifications. I want to make another page as example.github.io or example.github.io/index.html.
Is it possible? If yes, then how to do it?
You can create a repo named username.github.io to host something on a subdomain.
And by creating a repo as notifications under example user, you could make a website as example.github.io/notifications. Reference

Subdomain take over with github?

I have a username on github "as my name is" and also a subdomain like otherusername.github.io and on this Subdomain github error pages there, so I search on google and found that the subdomain is vulnerable to subdomain take over, now the big question is How i claim on it?.
Is i create a repository on my profile with that name "otherusername.github.io? And that's all." If so then what do next?
I want to clear this doubt.
You would need to create a user page
You will need to name this repository with the account name.
You must use the username.github.io naming scheme.
Content from the master branch will be used to build and publish your GitHub Pages site.
That means you need an account with the right username (otherusername), and a repo named otherusername.github.io.

cannot navigate to some profiles on github

In some available repositories I saw contributed users' profiles which I cannot visit - they are basically unavailable -> it's not even marked as link.
When I click on user profile - I can navigate to it. But when I click on this user another - it does nothing.
Do these users set some block or what?
It is possible those users have made contributions (pushed commits) done with a name+emai which doesn't match any GitHub account.
This is detailed in "Why are my contributions not showing up on my profile?".
In that case, their username would be displayed, but without any link to a GitHub account.
dennisschagt confirms in the comments:
I did some testing some time ago and GitHub uses the user.email field to link commits to users.
If there is no user with that email address, GitHub displays the value of user.name but then the name is not clickable.