search

Home  >  Q&A  >  body text

There is no post-receive.sample in git hooks


As shown in the picture, after git creates a bare warehouse, there is no post-receive.sample in hooks. I don’t know how to solve it. Please give me some guidance

某草草某草草2794 days ago770

reply all(2)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:29:10

    This library of yours is really weird, it didn’t generate it by itself...
    But it doesn’t matter if you don’t have it. post-receive is an ordinary script. You can directly create a new document to write the script content, save it and chmod +x and add the running permission.

    reply
    0
  • 阿神

    阿神2017-05-02 09:29:10

    I don’t have mine either haha, it seems like I’m weird too~~

    reply
    0
  • Cancelreply