Переклад book/08-customizing-git/sections/hooks.asc#98
Merged
tbudurovych merged 4 commits intoprogit:masterfrom Feb 11, 2016
Merged
Переклад book/08-customizing-git/sections/hooks.asc#98tbudurovych merged 4 commits intoprogit:masterfrom
tbudurovych merged 4 commits intoprogit:masterfrom
Conversation
| You can use these hooks for all sorts of reasons. | ||
| Як і багато інших Систем Керування Версіями, Git має спосіб запускати користувацькі скрипти, коли виконує якісь важливі дії. | ||
| Існує дві групи таких гаків: клієнтські та серверні. | ||
| Клієнтські гаки викликаються операціями на кшталт збереження коміту та зливання, у той час як серверні гаки виконується під час мережевих операцій на кшталт отримання надісланих змін. |
Contributor
There was a problem hiding this comment.
один "на кшталт" можна замінити б на шось на кшталт "типу".
пардон за каламбур
Member
Author
There was a problem hiding this comment.
Замінив, я зазвичай просто якщо в оригіналі повторення, то й в перекладі роблю повторення.
Member
Author
|
Ці виправив. |
| Наступний гак -- `pre-applypatch` -- викликається під час застосування латок командою `git am`. | ||
| Це може збити з пантелику, проте він виконується _після_ того, як латку застосовано, проте перед тим, як створюється коміт. Отже, його можна використати для перевірки відбитку перед додаванням коміту. | ||
| Ви можете виконати тести, чи іншим чином перевірити робоче дерево в цьому скрипті. | ||
| Якщо чогось бракує, чи тести не пройшли, вихід з не нульовим значенням припиняє скрипт `git am` без створення коміту з латкою. |
tbudurovych
added a commit
that referenced
this pull request
Feb 11, 2016
Переклад book/08-customizing-git/sections/hooks.asc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #33