Does changing your GitHub username leave any leftover references to the old name? - github

I would like to change the username of an old GitHub account which I once used rather than making a brand new one. I don't want to do this unless it leaves no remnants of the old account name. Especially on the profile page.

there are some leftovers, as described here. The two main drawbacks are below.
You will need to manually change your repository references.
You will need to change the links to your GitHub profile in social media (or any other site).

Related

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.

Will I lose private repositories shared with me if I change my GitHub username?

I'm thinking on changing my GitHub username but I'm afraid of losing access to private repositories I have access to. Is there any problem if I change it? When trying to change username there is a warning massage as follows,
For Name, the simple answer is no it won't change your repositories and you can remove or edit your name at any time,
For Username, the answer is also no but if you want to change the username it is a different story, all data and all links which are directing to your user profile will be gone if you are changing the username. But as mentioned in your question private repositories won't be gone. Personally, I don't recommend to change the username.
Excerpt from the official documentation to help others:
After changing your username, your old username becomes available for anyone else to claim. Most references to your repositories under the old username automatically change to the new username. However, some links to your profile won't automatically redirect.

How to share Github Pages via link-only option?

I am trying to share my Github Pages only via link (if possible, keeping my repo private), just like the link-only share option of Google Drive. Specifically, only those with the URL can access the github.io website that I made, while the repo (the github.com website) is preferably not accessible to anyone. May I ask if it's possible, even via third-party tools?
if you share any link from a private repository, you will get an error 404.
Something you can do to test this behavior... is open a chrome tab in incognito mode and paste your link ... there you will see the error.
If you want to share any link in one of your repositories, it must be Public.
If there is another possibility, please let someone tell us how to do it. regards
In general, I don't know if there's a third-party tool to do the work, but it's easy to make it by hand, provides that you're not creating a lot of such pages.
First, is it possible to make a public GitHub Pages based on private repository?
Yes. Just create a private repository, head to Settings >> Options, find the section called "GitHub Pages" and set the source branch. This process is just the same as creating any GitHub pages.
P.S. you SHOULD see the message
Caution: This repository is private but the published site will be public.
This states exactly what you want.
only those with the URL can access the github.io website
Well, just make the URL difficult to guess.
For example, named the repository as a random string "uk5KKR".
However, this will likely mess up the repositories in your profile, soon after you'll be difficult to find the correct repository that you need now.
Instead, you can named name in this way: "githubpage_uk5KKR".
For other people, it's difficult to find this page when they are not provided the URL. And for you, just search "githubpage" in your profile and this repository should appear.
Here's a few notes:
You should adjust the length of the random string according to how secure you need.
It's also possible to make a quarantine area by the path name in a repository. For example, create paths "n2jnHG" and "4xSN2g" in the same repository of GitHub page, then the contents in these two paths could be shared with different people.
Finally, note that if anyone failed to keep the URL secret, the whole page is not secret anymore. It could even become an entry in Google search result.

The GitKraken "commit graph" contains a mix of identicons or author's avatar

The commit graph of GitKraken sometimes contains identicons while some others contains the author's profile avatars for commits (I'm testing with GitHub, but I don't think it's specific to this instance).
I just can't figure out what makes GitKraken to decide (if any choice?) which one to show in each cases?
GitKraken uses Gravatar to decide which icons to show. You can read this up in the GitKraken help page on profiles and their FAQ (How do I change the avatar associated with my commits?).
From the Gravater documentation:
Gravatar uses your email address to provide your image to other sites.
Thus, the committer email adress set up in your git config will decide which icon will be shown.

About creating a new project in GitHub

Kinda new to GitHub, I want to create a repository for my open-source project.
If my username is Bob, the link would be like https://github.com/bob/my-project
And you could visit my personal profile at https://github.com/bob
However, I have seen projects like this: https://github.com/ruby/ruby
My guess was: well, it means that there is some user called "ruby" who has a repository called "ruby".
So naturally, I could see this "ruby" user's personal profile at https://github.com/ruby... But you can tell that's NOT a normal profile. Instead, it is some sort of list for related repositories.
Well then, what is that? Am I supposed to do the same thing?
That is a GitHub organization.
It is an organisation. https://github.com/blog/674-introducing-organizations
On Github you can create organisations to organize members and repositories.