File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 - [ Gitログのスタイリング] ( #git%E3%83%AD%E3%82%B0%E3%81%AE%E3%82%B9%E3%82%BF%E3%82%A4%E3%83%AA%E3%83%B3%E3%82%B0 )
5454 - [ コミットログの検索] ( #%E3%82%B3%E3%83%9F%E3%83%83%E3%83%88%E3%83%AD%E3%82%B0%E3%81%AE%E6%A4%9C%E7%B4%A2 )
5555 - [ マージ済みブランチ] ( #%E3%83%9E%E3%83%BC%E3%82%B8%E6%B8%88%E3%81%BF%E3%83%96%E3%83%A9%E3%83%B3%E3%83%81 )
56+ - [ FixupとAutosquash] ( #fixup%E3%81%A8autosquash )
5657 - [ ローカル・リポジトリを参照するウェブサーバー] ( #%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%82%92%E5%8F%82%E7%85%A7%E3%81%99%E3%82%8B%E3%82%A6%E3%82%A7%E3%83%96%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC )
5758 - [ Gitの設定] ( #git%E3%81%AE%E8%A8%AD%E5%AE%9A )
5859 - [ エイリアス] ( #%E3%82%A8%E3%82%A4%E3%83%AA%E3%82%A2%E3%82%B9 )
@@ -717,6 +718,17 @@ $ git branch --no-merged
717718
718719[ * Gitの` branch ` コマンドについてもっと詳しく* ] ( http://git-scm.com/docs/git-branch )
719720
721+ ### FixupとAutosquash
722+ これまでのコミット(HEADの直前でなくても構わない)、例えば` abcde ` というチェックサムのコミットで何か問題を見つけた場合、以下の様なコマンドで問題の修正を行うことができる:
723+
724+ ``` bash
725+ $ git commit --fixup=abcde
726+ $ git rebase abcde^ --autosquash -i
727+ ```
728+
729+ [ * Gitの` commit ` コマンドについてもっと詳しく* ] ( http://git-scm.com/docs/git-commit )
730+ [ * Gitの` rebase ` コマンドについてもっと詳しく* ] ( http://git-scm.com/docs/git-rebase )
731+
720732### ローカル・リポジトリを参照するウェブサーバー
721733Gitの` instaweb ` コマンドを利用すると、自分の作業リポジトリを` gitweb ` で参照することができる。このコマンドは` gitweb ` とウェブサーバーをセットアップしてローカル・リポジトリをブラウザーで開けるようにする簡単なスクリプトだ。
722734
You can’t perform that action at this time.
0 commit comments