How to setup multiple git accounts for GitHub and Bitbucket

Issue #514 Generate SSH keys ssh-keygen -t rsa -C "onmyway133@gmail.com" -f "id_rsa_github" ssh-keygen -t rsa -C "onmyway133bitbucket@gmail.com" -f "id_rsa_bitbucket" pbcopy < ~/.ssh/id_rsa_github.pub pbcopy < ~/.ssh/id_rsa_bitbucket.pub ssh-add -D ssh-add id_rsa_github ssh-add id_rsa_bitbucket vim ~/.ssh/config #Github (personal) Host gh HostName github.com User git IdentityFile ~/.ssh/id_rsa_github #Bitbucket (work) Host bb HostName bitbucket.org User git IdentityFile ~/.ssh/id_rsa_bitbucket Config git config --global user.email "onmyway133@gmail.com" git config --local user.email "onmyway133bitbucket@gmail.com" Read more https://medium.com/avocoders/github-and-bitbucket-accounts-in-a-same-pc-5f8c67fd89d2 https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config Updated at 2020-10-04 06:52:07...

November 22, 2019 路 1 min 路 Khoa Pham

How to show documentations for GitHub projects

Issue #481 Use jazzy to generate documentation which the generated artifacts in docs folder GitHub has a nifty feature to use docs as GitHub pages ...

October 31, 2019 路 1 min 路 Khoa Pham

How to use remote theme for GitHub Pages

Issue #248 Visit https://github.com/onmyway133/onmyway133.github.io https://github.blog/2017-11-29-use-any-theme-with-github-pages/ Starting today, you can use any of the hundreds of community-curated themes on GitHub.com. To build your site with any public, GitHub-hosted theme, add the following to your site鈥檚 _config.yml file: remote_theme: owner/name Browse themes https://github.com/topics/jekyll-theme Example config file with navigation https://github.com/daviddarnes/alembic/blob/master/_config.yml Link to a new page Each page must have a description. Link must point to generated html file Apps: /apps.html Do not specify layout: default to keep overall theme...

May 21, 2019 路 1 min 路 Khoa Pham

Commit as another user on GitHub

Issue #118 GitHub identifies users by email, so you can totally commit using someone 鈥檚 email. This is how to configure in SourceTree https://help.github.com/articles/signing-commits-using-gpg/ https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/ ...

December 7, 2017 路 1 min 路 Khoa Pham

Badge in GitHub

Issue #117 GitHub is so awesome. It is where people around the world collaborate with each other. It is more awesome to show more about you in your GitHub profile. How about a badge? a welcome text? It is doable with organization. GitHub takes time and name of the organiazations you joined to determined how it displays on your profile This used to be what shown on my GitHub profile https://github....

December 7, 2017 路 1 min 路 Khoa Pham