I am trying to complete git hook task but I am not able to do it. can anyone suggest where I am going wrong
- Go to the bare repo on folder .git/hooks
- Edit file post-update and add the script to create the tag
- Now merge feature to Master
- push the merge commit
You can check if the post-update works fine by doing a pull. The new tag create should be pulled on your local repo.
Regard