最近関わってる http://tipshare.info というサイトで簡単なTipsを書いてます。
皆さんも是非使ってみてください。
この週末に @monsatさんがtipshareの記事をブログに貼り付けられる機能を作ってくれたので、gitのコミットを後から分割する方法を貼り付けます。
#tipshare-view4blog-body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#404040;}#tipshare-view4blog-body{background-color:#f5f5f5;margin-bottom:20px;padding:19px;min-height:20px;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}#tipshare-view4blog-body h2{overflow:hidden;font-weight:bold;font-size:24px;line-height:36px;}#tipshare-view4blog-body .site-title{text-align:right;}#tipshare-view4blog-body a.site-title{padding-left:40px;background: url('http://tipshare.info/img/tipshare_icon.png') no-repeat center left;}#tipshare-view4blog-body a.inside{text-decoration: none;}#tipshare-view4blog-body a.site-title ,#tipshare-view4blog-body a.post-view-title ,#tipshare-view4blog-body a.post-user {text-decoration: none; color: #333;}#tipshare-view4blog-body a.site-title:hover ,#tipshare-view4blog-body a.post-view-title:hover ,#tipshare-view4blog-body a.post-user:hover {color: #f00;}#tipshare-view4blog-body .post-body-author {margin: 0 0 2em;padding: 0 0 1em;border-bottom: 1px dashed #999;}#tipshare-view4blog-body .post-body {margin: 0;padding: 0 0 1em;}#tipshare-view4blog-body .post-date {font-size:12px;padding-left: 18px;background:url('http://tipshare.info/img/fam/calendar_view_day.png') no-repeat center left;color: #999;}#tipshare-view4blog-body img.editor-image{width: 24px;height: 24px;margin: -8px 4px -6px 0;vertical-align: baseline;}gitでコミットしたものを後から複数のコミットに分割する方法@cakephper2011-10-08 16:40:49※ただしリモートリポジトリにpushした後は実行してはいけないgit rebase -i HEAD^下記のようなコミットメッセージが表示されるので、pickをeditに変更pick 310154e 修正1と修正2 ↓edit 310154e 修正1と修正2git reset HEAD^git add前の状態になるので、必要な単位でgit addとcommitを繰り返すgit rebase --continue参考: http://progit.org/book/ja/ch6-4.html#id147#gittipshare.info
