Skip to content

Commit

Permalink
Merge pull request #103 from kenkaton/master
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
harupong authored Mar 26, 2018
2 parents 63dfdd1 + c003e2f commit 3c53fb4
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 3c53fb4

Please sign in to comment.