Skip to content

Commit 19c5a29

Browse files
committed
Merge pull request #67 from progit/fix-66
fix #66
2 parents 1b4767f + b23c728 commit 19c5a29

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

book/07-git-tools/sections/advanced-merging.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ By default, Git sees all of these lines as being changed, so it can't merge the
189189
//////////////////////////
190190
この例では、コンフリクトは空白文字が原因で起こっていました。例が簡単なのでそれが明確ですが、実際の場合でも見分けるのは簡単です。というのも、コンフリクトの内容が、一方で全行を削除しつつもう一方では全行を追加した形になっているからです。Git のデフォルトでは、これは「全行が変更された」と見なされ、マージは行えません。
191191
192+
//////////////////////////
192193
The default merge strategy can take arguments though, and a few of them are about properly ignoring whitespace changes.
193194
If you see that you have a lot of whitespace issues in a merge, you can simply abort it and do it again, this time with `-Xignore-all-space` or `-Xignore-space-change`.
194195
The first option ignores whitespace **completely** when comparing lines, the second treats sequences of one or more whitespace characters as equivalent.

book/07-git-tools/sections/rewriting-history.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ $ git log -4 --pretty=format:"%h %s"
387387
f3cc40e changed my name a bit
388388
----
389389
390+
//////////////////////////
390391
Once again, this changes the SHA-1s of all the commits in your list, so make sure no commit shows up in that list that you’ve already pushed to a shared repository.
391392
//////////////////////////
392393
念のためにもう一度言いますが、この変更はリスト内のすべてのコミットの SHA を変更します。すでに共有リポジトリにプッシュしたコミットは、このリストに表示させないようにしましょう。

0 commit comments

Comments
 (0)