File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
book/08-customizing-git/sections Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ You can use these hooks for all sorts of reasons.
14
14
他のバージョンコントロールシステムと同じように、Gitにも特定のアクションが発生した時にカスタムスクリプトを叩く方法があります。
15
15
このようなフックは、クライアントサイドとサーバーサイドの二つのグループに分けられます。
16
16
クライアントサイドフックはコミットやマージといったクライアントでの操作の際に、サーバーサイドフックはプッシュされたコミットの受け取りといったネットワーク操作の際に、それぞれ実行されます。
17
- これらのフックは、さまざまなな目的に用いることができます 。
17
+ これらのフックは、さまざまな目的に用いることができます 。
18
18
19
19
//////////////////////////
20
20
==== Installing a Hook
@@ -111,7 +111,7 @@ After the entire commit process is completed, the `post-commit` hook runs.
111
111
It doesn't take any parameters, but you can easily get the last commit by running `git log -1 HEAD`.
112
112
Generally, this script is used for notification or something similar.
113
113
//////////////////////////
114
- コミットプロセスが全て完了した後には、`post-commit`フックが実行されます。
114
+ コミットプロセスが全て完了した後には、 `post-commit` フックが実行されます。
115
115
このフックはパラメータを取りませんが、 `git log -1 HEAD` を実行することで直前のコミットを簡単に取り出すことができます。
116
116
一般的にこのスクリプトは何かしらの通知といった目的に使用されます。
117
117
You can’t perform that action at this time.
0 commit comments