Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
ハッシュ値の誤植を修正
  • Loading branch information
kenkaton authored Mar 23, 2018
1 parent 63dfdd1 commit c003e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/07-git-tools/sections/reset.asc
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ This means if HEAD is set to the `master` branch (i.e. you're currently on the `
//////////////////////////
`reset` コマンドを実行すると、HEAD に指し示されているものがまずは移動します。
これは、`checkout` のときのような、HEAD そのものを書き換えてしまう処理ではありません。HEAD が指し示すブランチの方が移動する、ということです。
つまり、仮に HEAD が `master` ブランチを指している(`master` ブランチをチェックアウトした状態)場合、`git reset 9e5e64a` を実行すると `master` ブランチがコミット `9e5e64a` を指すようになります。
つまり、仮に HEAD が `master` ブランチを指している(`master` ブランチをチェックアウトした状態)場合、`git reset 9e5e6a4` を実行すると `master` ブランチがコミット `9e5e6a4` を指すようになります。
image::images/reset-soft.png[]
Expand Down

0 comments on commit c003e2f

Please sign in to comment.