<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>scior</author_name>
  <author_url>https://blog.hatena.ne.jp/scior/</author_url>
  <blog_title>しおメモ</blog_title>
  <blog_url>https://scior.hatenablog.com/</blog_url>
  <categories>
    <anon>git</anon>
    <anon>shell</anon>
    <anon>メモ</anon>
  </categories>
  <description>あとからコミットメッセージ書きたいとか、rebase前提でとりあえず細かくcommit切りたいときに、雑にtempとかWIPとか書いて忘れそうになるので、hooksのpre-pushに警告をいれてみることにしました。 やり方 master pushを防ぐのとほぼ同じです。 masterへのpushをローカルではじく - しおメモ .git/hooks/pre-pushに書いておくことで、それっぽいコミットメッセージに反応して、pushを中断します。 while read local_ref local_sha1 remote_ref remote_sha1 do MESSAGES=`git l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fscior.hatenablog.com%2Fentry%2F2019%2F06%2F08%2F011906&quot; title=&quot;git push前にrebaseをリマインドする - しおメモ&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-06-08 01:19:06</published>
  <title>git push前にrebaseをリマインドする</title>
  <type>rich</type>
  <url>https://scior.hatenablog.com/entry/2019/06/08/011906</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
