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.
1414他のバージョンコントロールシステムと同じように、Gitにも特定のアクションが発生した時にカスタムスクリプトを叩く方法があります。
1515このようなフックは、クライアントサイドとサーバーサイドの二つのグループに分けられます。
1616クライアントサイドフックはコミットやマージといったクライアントでの操作の際に、サーバーサイドフックはプッシュされたコミットの受け取りといったネットワーク操作の際に、それぞれ実行されます。
17- これらのフックは、さまざまなな目的に用いることができます 。
17+ これらのフックは、さまざまな目的に用いることができます 。
1818
1919//////////////////////////
2020==== Installing a Hook
@@ -111,7 +111,7 @@ After the entire commit process is completed, the `post-commit` hook runs.
111111It doesn't take any parameters, but you can easily get the last commit by running `git log -1 HEAD`.
112112Generally, this script is used for notification or something similar.
113113//////////////////////////
114- コミットプロセスが全て完了した後には、`post-commit`フックが実行されます。
114+ コミットプロセスが全て完了した後には、 `post-commit` フックが実行されます。
115115このフックはパラメータを取りませんが、 `git log -1 HEAD` を実行することで直前のコミットを簡単に取り出すことができます。
116116一般的にこのスクリプトは何かしらの通知といった目的に使用されます。
117117
You can’t perform that action at this time.
0 commit comments