間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

2013-08-30から1日間の記事一覧

filter-branch後に残ったバックアップのブランチを消す

git

refs/original/HEADの場合 $ git update-ref -d refs/original/HEADめも、詳細未確認 参考 http://stackoverflow.com/questions/7654822/remove-refs-original-heads-master-from-git-repo-after-filter-branch-tree-filte直前のcommitの修正 http://blog.ch…

Author修正

git

$ git rebase -i HEAD~2 $ git commit --amend --author="hoge <hoge@example.com>"めも</hoge@example.com>

GitのCommit中のAuthor名およびCommitter名を変える

git

http://d.hatena.ne.jp/idesaku/20090908/1252419890 $ git filter-branch --commit-filter ' GIT_AUTHOR_NAME="idesaku" GIT_AUTHOR_EMAIL="(メールアドレス)" GIT_COMMITTER_NAME="idesaku" GIT_COMMITTER_EMAIL="(メールアドレス)" git commit-tree "…

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。