<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shojisuba</author_name>
  <author_url>https://blog.hatena.ne.jp/shojisuba/</author_url>
  <blog_title>simple-web-system technology</blog_title>
  <blog_url>https://www.simple-web-system.work/</blog_url>
  <categories>
  </categories>
  <description>TL;DR githubアカウントを個人用と仕事用で分けたいけど、 id_rsaファイルを切り替えるのとかは面倒くさい 結論: github cliを使う gitのcredential設定で、特定ドメインに対して、認証方法を設定できる。 この認証方法は色々な方法を使えるが、github cliが一番簡単に設定できる 手順 ghをインストール brew install gh githubにデフォルトのブラウザで会社用のアカウントでログイン terminalで以下のコマンドを実行して、認証を通す gh auth login $HOME/.gitconfigに以下の記述を追加（会社リポジトリのユーザ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.simple-web-system.work%2Fentry%2F2021%2F05%2F13%2F162453&quot; title=&quot;会社用のリポジトリだけ、会社用のGithubアカウントを使うようにする - simple-web-system technology&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-13 16:24:53</published>
  <title>会社用のリポジトリだけ、会社用のGithubアカウントを使うようにする</title>
  <type>rich</type>
  <url>https://www.simple-web-system.work/entry/2021/05/13/162453</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
