<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=GitHub</id>
	<title>GitHub - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=GitHub"/>
	<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=GitHub&amp;action=history"/>
	<updated>2026-06-26T11:07:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://k2.ixota.com/index.php?title=GitHub&amp;diff=6280&amp;oldid=prev</id>
		<title>Kenneth: /* Anonomous Email */</title>
		<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=GitHub&amp;diff=6280&amp;oldid=prev"/>
		<updated>2023-06-08T14:28:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Anonomous Email&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- == Subpage Table of Contents == --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Subpage Table of Contents&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{Special:PrefixIndex/{{PAGENAME}}/}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GitHub ==&lt;br /&gt;
&lt;br /&gt;
GitHub · Build software better, together. - https://github.com/&lt;br /&gt;
: &amp;quot;GitHub · Build software better, together.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Global setup:&lt;br /&gt;
&lt;br /&gt;
 Download and install Git&lt;br /&gt;
  git config --global user.name &amp;quot;Your Name&amp;quot;&lt;br /&gt;
  git config --global user.email kiloforce@k.ttak.org&lt;br /&gt;
  Add your public key&lt;br /&gt;
&lt;br /&gt;
Next steps:&lt;br /&gt;
&lt;br /&gt;
  mkdir test&lt;br /&gt;
  cd test&lt;br /&gt;
  git init&lt;br /&gt;
  touch README&lt;br /&gt;
  git add README&lt;br /&gt;
  git commit -m &amp;#039;first commit&amp;#039;&lt;br /&gt;
  git remote add origin git@github.com:kiloforce/test.git&lt;br /&gt;
  git push origin master&lt;br /&gt;
      &lt;br /&gt;
&lt;br /&gt;
Existing Git Repo?&lt;br /&gt;
&lt;br /&gt;
  cd existing_git_repo&lt;br /&gt;
  git remote add origin git@github.com:kiloforce/test.git&lt;br /&gt;
  git push origin master&lt;br /&gt;
&lt;br /&gt;
== Caching Password ==&lt;br /&gt;
&lt;br /&gt;
authentication - Git push requires username and password - Stack Overflow - http://stackoverflow.com/questions/6565357/git-push-requires-username-and-password&lt;br /&gt;
&lt;br /&gt;
The following command will save your password in memory for sometime.&lt;br /&gt;
(For git 1.7.10 or newer.)&lt;br /&gt;
&lt;br /&gt;
 # Set git to use the credential memory cache&lt;br /&gt;
 $ git config --global credential.helper cache&lt;br /&gt;
&lt;br /&gt;
 # Set the cache to timeout after 1 hour (setting is in seconds)&lt;br /&gt;
 $ git config --global credential.helper &amp;#039;cache --timeout=3600&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Git ==&lt;br /&gt;
&lt;br /&gt;
See [[Git]]&lt;br /&gt;
&lt;br /&gt;
== GitHub Flavored Markdown ==&lt;br /&gt;
&lt;br /&gt;
See [[GitHub/GitHub Flavored Markdown]]&lt;br /&gt;
&lt;br /&gt;
== GitHub Gist ==&lt;br /&gt;
&lt;br /&gt;
Gist is a simple way to share snippets and pastes with others. All gists are Git repositories, so they are automatically versioned, forkable and usable from Git.&lt;br /&gt;
&lt;br /&gt;
https://gist.github.com/&lt;br /&gt;
&lt;br /&gt;
== GitHub Pages ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Websites for you and your projects, hosted directly from your GitHub repository.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
GitHub Pages - https://pages.github.com/&lt;br /&gt;
&lt;br /&gt;
Supports static HTML content&lt;br /&gt;
&lt;br /&gt;
Warning: GitHub Pages sites are publicly available on the internet, even if their repositories are private. If you have sensitive data in your Page repository, you may want to remove it before publishing.&lt;br /&gt;
&lt;br /&gt;
=== User Pages ===&lt;br /&gt;
&lt;br /&gt;
Only one set of User/Organization pages are available per account.  (Although multiple project pages are allowed)&lt;br /&gt;
&lt;br /&gt;
User/Organization Site: (must live in master branch)&lt;br /&gt;
# On GitHub and create a new repository named &amp;#039;&amp;#039;username&amp;#039;&amp;#039;.github.io (where &amp;#039;&amp;#039;username&amp;#039;&amp;#039; is your username (or organization name) on GitHub).&lt;br /&gt;
#* Note: If the first part of the repository doesn’t exactly match your username, it won’t work, so make sure to get it right.&lt;br /&gt;
# Clone repo&lt;br /&gt;
#* &amp;#039;&amp;#039;git@github.com:[USERNAME]/[USERNAME].github.io&amp;#039;&amp;#039;&lt;br /&gt;
# Add index.html&lt;br /&gt;
#* &amp;#039;&amp;#039;cd username.github.io ; echo &amp;quot;Hello World&amp;quot; &amp;gt; index.html&amp;#039;&amp;#039;&lt;br /&gt;
# Push it&lt;br /&gt;
#* &amp;#039;&amp;#039;git add --all ; git commit -m &amp;quot;Initial commit&amp;quot; ; git push -u origin master&amp;#039;&amp;#039;&lt;br /&gt;
# Browse to new site: (may have to wait a few minutes for the pages to be generated by GitHub)&lt;br /&gt;
#* http://[USERNAME].github.io/&lt;br /&gt;
&lt;br /&gt;
=== Project Pages ===&lt;br /&gt;
&lt;br /&gt;
Project pages work similar to User Pages, but each project can have their own set of Project Pages.&lt;br /&gt;
&lt;br /&gt;
To setup Project Pages, simply create a branch called &amp;#039;&amp;#039;gh-pages&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 # Creates our branch, without any parents (it&amp;#039;s an orphan!)&lt;br /&gt;
 git checkout --orphan gh-pages&lt;br /&gt;
 &lt;br /&gt;
 # Remove all files from the old working tree&lt;br /&gt;
 git rm -rf .&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;My Page&amp;quot; &amp;gt; index.html&lt;br /&gt;
 git add index.html&lt;br /&gt;
 git commit -a -m &amp;quot;First pages commit&amp;quot;&lt;br /&gt;
 git push origin gh-pages&lt;br /&gt;
&lt;br /&gt;
Browse to: http://&amp;lt;username&amp;gt;.github.io/&amp;lt;projectname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Custom URL ===&lt;br /&gt;
&lt;br /&gt;
Setup a custom URL [https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages/]&lt;br /&gt;
&lt;br /&gt;
--- DNS ---&lt;br /&gt;
&lt;br /&gt;
Create a CNAME on your sub domain name to point to &amp;#039;&amp;#039;username&amp;#039;&amp;#039;.github.io. [https://help.github.com/articles/adding-a-cname-file-to-your-repository/] [https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/]&lt;br /&gt;
&lt;br /&gt;
If pointing an apex domain level, point A record to the following IP addresses: [https://help.github.com/articles/tips-for-configuring-an-a-record-with-your-dns-provider/]&lt;br /&gt;
    192.30.252.153&lt;br /&gt;
    192.30.252.154&lt;br /&gt;
&lt;br /&gt;
If your DNS provider supports it, you can also have your apex domain name use an Alias (ANAME) record to point to &amp;#039;&amp;#039;username&amp;#039;&amp;#039;.github.io.&lt;br /&gt;
&lt;br /&gt;
If you also create a www subdomain CNAME, GitHub will also respect this too. [https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/]&lt;br /&gt;
&lt;br /&gt;
--- GitHub CNAME file ---&lt;br /&gt;
&lt;br /&gt;
CNAME file: [https://help.github.com/articles/adding-a-cname-file-to-your-repository/]&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re using a custom domain to redirect your GitHub Pages site, you must create and commit a CNAME file to your GitHub Pages repository that contains the custom domain.&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;Branches&amp;quot; menu, switch to your repository&amp;#039;s Pages branch:&lt;br /&gt;
* For User and Organization Pages sites, the Pages branch is &amp;#039;&amp;#039;master&amp;#039;&amp;#039;.&lt;br /&gt;
* For Project Pages sites, the Pages branch is &amp;#039;&amp;#039;gh-pages&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In the new file, add a single line that specifies the bare subdomain for your custom domain. For example, use &amp;#039;&amp;#039;blog.example.com&amp;#039;&amp;#039;, not &amp;#039;&amp;#039;https://blog.example.com&amp;#039;&amp;#039;. Note that there can only be one domain in the CNAME file.&lt;br /&gt;
&lt;br /&gt;
Verify the change by looking under the project&amp;#039;s settings, under &amp;quot;GitHub Pages&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note, the Project Pages site inherits the domain set for its owner&amp;#039;s User Pages site, but can be overridden with it&amp;#039;s own Custom URL.&lt;br /&gt;
&lt;br /&gt;
=== Automatic Page Generation ===&lt;br /&gt;
&lt;br /&gt;
Automatic Page Generation [https://help.github.com/articles/creating-pages-with-the-automatic-generator/] - You can use GitHub&amp;#039;s Automatic Page Generator to quickly create a website for a project, user, or organization.&lt;br /&gt;
# Go to the repository&amp;#039;s settings page. &lt;br /&gt;
# Click the Automatic Page Generator button.&lt;br /&gt;
&lt;br /&gt;
=== GitHub Pages Disk Quota ===&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Rule of thumb: 1GB per repository, 100MB per file&amp;quot; [https://help.github.com/articles/what-is-my-disk-quota/]&lt;br /&gt;
&lt;br /&gt;
== Sync Forked Repo ==&lt;br /&gt;
&lt;br /&gt;
Configure remote for fork: [https://help.github.com/articles/configuring-a-remote-for-a-fork/]&lt;br /&gt;
 git remote -v&lt;br /&gt;
 git remote add upstream https://github.com/ORIGINAL_OWNER&lt;br /&gt;
&lt;br /&gt;
Sync fork: [https://help.github.com/articles/syncing-a-fork/]&lt;br /&gt;
 git fetch upstream&lt;br /&gt;
 git checkout master&lt;br /&gt;
 git merge upstream/master&lt;br /&gt;
&lt;br /&gt;
== Fix Author Email ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
git filter-branch -f --env-filter &amp;#039;&lt;br /&gt;
OLD_EMAIL=&amp;quot;your-old-email@example.com&amp;quot;&lt;br /&gt;
CORRECT_NAME=&amp;quot;Your Correct Name&amp;quot;&lt;br /&gt;
CORRECT_EMAIL=&amp;quot;your-correct-email@example.com&amp;quot;&lt;br /&gt;
if [ &amp;quot;$GIT_COMMITTER_EMAIL&amp;quot; = &amp;quot;$OLD_EMAIL&amp;quot; ]&lt;br /&gt;
then&lt;br /&gt;
    export GIT_COMMITTER_NAME=&amp;quot;$CORRECT_NAME&amp;quot;&lt;br /&gt;
    export GIT_COMMITTER_EMAIL=&amp;quot;$CORRECT_EMAIL&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
if [ &amp;quot;$GIT_AUTHOR_EMAIL&amp;quot; = &amp;quot;$OLD_EMAIL&amp;quot; ]&lt;br /&gt;
then&lt;br /&gt;
    export GIT_AUTHOR_NAME=&amp;quot;$CORRECT_NAME&amp;quot;&lt;br /&gt;
    export GIT_AUTHOR_EMAIL=&amp;quot;$CORRECT_EMAIL&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;#039; --tag-name-filter cat -- --branches --tags&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Modify and Run script&lt;br /&gt;
# git push --force --tags origin &amp;#039;refs/heads/*&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Changing author info - User Documentation - https://help.github.com/articles/changing-author-info/&lt;br /&gt;
&lt;br /&gt;
== Anonomous Email ==&lt;br /&gt;
&lt;br /&gt;
github no reply mail:&lt;br /&gt;
&lt;br /&gt;
Go to https://github.com/settings/email and copy your no reply mail ,it would look like this ID+username@users.noreply.github.com .&lt;br /&gt;
&lt;br /&gt;
 https://github.com/settings/email&lt;br /&gt;
&lt;br /&gt;
 ID+username@users.noreply.github.com&lt;br /&gt;
&lt;br /&gt;
than set this email as global email to your pc :&lt;br /&gt;
&lt;br /&gt;
 git config user.email &amp;#039;ID+username@users.noreply.github.com&lt;br /&gt;
&lt;br /&gt;
After this process your problem will fix&lt;br /&gt;
&lt;br /&gt;
ref: [https://stackoverflow.com/questions/7372970/git-commit-with-no-email]&lt;br /&gt;
&lt;br /&gt;
== SSH Key SHA256 ==&lt;br /&gt;
&lt;br /&gt;
 ssh-keygen -lf NEWpubkey.pem&lt;br /&gt;
&lt;br /&gt;
 ssh-keygen -lf id_rsa.pub&lt;br /&gt;
    2048 SHA256:5Q3idtyMMW08qsE+QPFAcEHgEe7lRK89AUboCDXXXXX ken (RSA)&lt;br /&gt;
&lt;br /&gt;
ref [https://stackoverflow.com/questions/49365327/get-sha256-hash-of-public-key]&lt;br /&gt;
&lt;br /&gt;
== Issues ==&lt;br /&gt;
&lt;br /&gt;
=== https authentication ===&lt;br /&gt;
&lt;br /&gt;
Error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git push&lt;br /&gt;
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/oeey/ksmtp/info/refs&lt;br /&gt;
&lt;br /&gt;
fatal: HTTP request failed&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solutions:&lt;br /&gt;
* Use SSH keys and git:// protocol&lt;br /&gt;
* Add username:password to origin url in .git/config:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[remote &amp;quot;origin&amp;quot;]&lt;br /&gt;
        fetch = +refs/heads/*:refs/remotes/origin/*&lt;br /&gt;
        url = https://[GITUSER]:[GITPASSWORD]@github.com/oeey/ksmtp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Git]]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
		
	</entry>
</feed>