<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lingvisticae</author_name>
  <author_url>https://blog.hatena.ne.jp/lingvisticae/</author_url>
  <blog_title>惰力飛行</blog_title>
  <blog_url>https://livingdead0812.hatenablog.com/</blog_url>
  <categories>
    <anon>mac</anon>
    <anon>git</anon>
  </categories>
  <description>以前のエントリで示したように，ローカルの作業フォルダをgitで管理してクラウドドライブにpushするようにしたわけだが， livingdead0812.hatenablog.com 案の定，手動での同期は操作忘れを頻発することがわかったので，自動でのコミットとプッシュのためにいくつか方法を試みた． やったこと1: .bash_profileで自動でコミットするスクリプトを実行する 簡便な方法として，一定時間おきにgitコマンドを実行するシェルスクリプトをログイン時に実行するという方法を試した． #! /bin/bash while true; do git pull git add . git…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flivingdead0812.hatenablog.com%2Fentry%2F2019%2F05%2F09%2F175748&quot; title=&quot;gitのローカルリポジトリに自動コミット・自動プッシュを設定する - 惰力飛行&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>2019-05-09 17:57:48</published>
  <title>gitのローカルリポジトリに自動コミット・自動プッシュを設定する</title>
  <type>rich</type>
  <url>https://livingdead0812.hatenablog.com/entry/2019/05/09/175748</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
