Git Tutorial - Git Hooks Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 3

  • @kouameyaojean1482
    @kouameyaojean1482 8 หลายเดือนก่อน

    Good and undertandable tuto. You did not talk about remote hooks

  • @tennyson130
    @tennyson130 2 ปีที่แล้ว

    Hi Emad - Nice explanation, easy to understand.. !
    I have a query , can u pls help !
    I have a request for pre-commit hooks with 2 parameters to pass. Could you please help !
    1. If the file size being committed is more than max file size =1024kb/1mb , git should prevent the file(s) from commit.
    2. Comma separated file paths. If the files committed are separated by commas (e.g: c:\my folder\my files, c:\my folder\my files1), git should prevent the files from commit.