Skip to content

Commit

Permalink
Merge pull request #107 from zettaittenani/patch-1
Browse files Browse the repository at this point in the history
Fix typos at hooks.asc
  • Loading branch information
jnavila authored Jan 13, 2022
2 parents 9b51570 + 79ee086 commit a3464cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/08-customizing-git/sections/hooks.asc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can use these hooks for all sorts of reasons.
他のバージョンコントロールシステムと同じように、Gitにも特定のアクションが発生した時にカスタムスクリプトを叩く方法があります。
このようなフックは、クライアントサイドとサーバーサイドの二つのグループに分けられます。
クライアントサイドフックはコミットやマージといったクライアントでの操作の際に、サーバーサイドフックはプッシュされたコミットの受け取りといったネットワーク操作の際に、それぞれ実行されます。
これらのフックは、さまざまなな目的に用いることができます
これらのフックは、さまざまな目的に用いることができます
//////////////////////////
==== Installing a Hook
Expand Down Expand Up @@ -111,7 +111,7 @@ After the entire commit process is completed, the `post-commit` hook runs.
It doesn't take any parameters, but you can easily get the last commit by running `git log -1 HEAD`.
Generally, this script is used for notification or something similar.
//////////////////////////
コミットプロセスが全て完了した後には、`post-commit`フックが実行されます。
コミットプロセスが全て完了した後には、 `post-commit` フックが実行されます。
このフックはパラメータを取りませんが、 `git log -1 HEAD` を実行することで直前のコミットを簡単に取り出すことができます。
一般的にこのスクリプトは何かしらの通知といった目的に使用されます。
Expand Down

0 comments on commit a3464cf

Please sign in to comment.