GitHub will go down in flames, don't use it!//
Programming > Git >
(on Wikipedia)
https://github.com/
A website for hosting Git repositories.
I host a number of projects on GitHub, including:
- GitHub download error page unicorn image
-
Prout -- Tells you when your pull-requests are live. Tells you when they're not, and should be.
--
- Relative Links in Pull Requests
- Placeholder for branch name in readme.md file
-
https://web.archive.org/web/20221019050307/https://gitpop2.herokuapp.com/
- Gives a better listing of a project's forks.
- https://github.com/AndreMiras/gitpop2
Random usage notes ∞
-
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ]
Collapsible content in comments / spoiler tags ∞
Collapsible contents (code block) in comments / spoiler tag #166
Do note the blank space after the summary tags.
Change from SSH to https ∞
Smart HTTP Support will fix any ancient repositories which haven't been used in a while.
\git remote set-url origin https://github.com/YOURNAME/REPOSITORY.git
You may need to edit .git/config
to change this section to be:
[branch "master"] remote = origin merge = refs/heads/master
Finding an email address ∞
You can look into the repository's log git log
and might find an email in there.
Otherwise:
- Find the GitHub username for which you want the email.
-
Visit https://api.github.com/users/xxxxxxx/events/public
- Change xxxxxxx to the person's GitHub username.
-
Press
control f
and search for "email".
or:
Fix WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
∞
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
\ssh-keygen -R github.com \curl -L https://api.github.com/meta |\ \jq -r '.ssh_keys | .[]' |\ \sed -e 's/^/github.com /' >> ~/.ssh/known_hosts
[UNSOLVED] - Cloning issues from a GitHub project to a fork on GitHub. ∞
I'd like to be able to download it all locally, but the end goal is to properly fork a project including all of its issues.
I want to do this for BlogText.
- https://github.com/unsorted-repos/batch-copy-issues [ 6 ]
-
https://stackoverflow.com/questions/56437562/seeking-a-way-to-clone-the-issues-for-github-projects
GitHub prompts for a username/password ∞
If it used to work without prompting because your ~/.ssh
is working fine, then check .git/config
url = https://github.com/spiralofhope/shell-random.git => url = [email protected]:spiralofhope/shell-random.git
Last updated 2024-12-04 at 18:23:09
Footnotes
- was https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests [ ↩ ]
- was https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests [ ↩ ]
- was https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests [ ↩ ]
- was https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-pull-requests [ ↩ ]
- was https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests [ ↩ ]
- was https://github.com/a-t-0/batch-copy-issues [ ↩ ]
Added the collapsable code block workaround.
Added a note on finding an author's email address.
GitHub updated their RSA SSH host key.