<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ShineSpark</author_name>
  <author_url>https://blog.hatena.ne.jp/ShineSpark/</author_url>
  <blog_title>人生シーケンスブレイク</blog_title>
  <blog_url>https://shinespark.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
  </categories>
  <description>特定ディレクトリ配下のgitリポジトリのみ別のconfig設定を適用する - 人生シーケンスブレイク の派生版。 個人でも会社でもEnterpriseでないGItHubを利用している場合の方法。 やりたいこと GitHub利用のメインは個人アカウントにしたい 会社用リポジトリをいじる際だけ社用アカウントに切り替えたい git cloneコマンドで新規にプライベートリポジトリを取得する場合にも、権限エラー無く取得したい ディレクトリイメージ 以下のようなディレクトリ構成を例とする。 ~/git/ ├── 個人アカウントのリポジトリ1 ├── 個人アカウントのリポジトリ2 ├── ... └── …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinespark.hatenablog.com%2Fentry%2F2019%2F01%2F08%2F080000&quot; title=&quot;特定ディレクトリ配下のみgitコマンドに紐づくGitHubアカウントを切り替える - 人生シーケンスブレイク&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-08 08:00:00</published>
  <title>特定ディレクトリ配下のみgitコマンドに紐づくGitHubアカウントを切り替える</title>
  <type>rich</type>
  <url>https://shinespark.hatenablog.com/entry/2019/01/08/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
