<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanjoin</author_name>
  <author_url>https://blog.hatena.ne.jp/tanjoin/</author_url>
  <blog_title>役に立ちそうで役に立たないブログ</blog_title>
  <blog_url>https://tanjoin.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
    <anon>github</anon>
    <anon>シェルスクリプト</anon>
  </categories>
  <description>同じPCで複数のgithubのアカウントを使うをよくやるので シェルスクリプト 書いた private_setup.sh #!/bin/bash # 実行時に指定された引数の数、つまり変数 $# の値が 1 でなければエラー終了。 if [ $# -ne 1 ]; then echo ローカルリポジトリに&quot;Githubのアカウント名&quot;アカウントを設定します echo 引数に対象となる.gitのディレクトリパスを設定して下さい echo &quot;指定された引数は$#個です。&quot; 1&gt;&amp;2 echo &quot;実行するには1個の引数が必要です。&quot; 1&gt;&amp;2 exit 1 fi if [ ! -d $1 ]; th…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanjoin.hatenablog.com%2Fentry%2F2014%2F05%2F20%2F205249&quot; title=&quot;プライベートアカウントの設定をちょっとだけ楽にするシェルスクリプト - 役に立ちそうで役に立たないブログ&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>2014-05-20 20:52:49</published>
  <title>プライベートアカウントの設定をちょっとだけ楽にするシェルスクリプト</title>
  <type>rich</type>
  <url>https://tanjoin.hatenablog.com/entry/2014/05/20/205249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
