間違いだらけの備忘録

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

2013-05-09から1日間の記事一覧

Gitのコミットの歴史を改変する(git Rebase)

git

http://tkengo.github.io/blog/2013/06/08/git-rebase-reference2/ pick が指定されているコミットは特になにもされません。 reword が指定されているコミットは内容自体には手を加えずにコメントのみ修正されます。 edit が指定されていれば rebase が一旦…

ファイルの各行がどのコミットのものか調べる

git

http://transitive.info/article/git/command/blame/ git blame file.txtめも

pushした履歴の修正

git

直前のcommitを修正 $ git commit --amendpushしてしまったcommitを修正 $ git push ! [rejected] master -> master (non-fast-forward) To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git …

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