在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:chriseldredge/git-slack-hook开源软件地址:https://github.com/chriseldredge/git-slack-hook开源编程语言:Shell 100.0%开源软件介绍:Git post-receive hook for SlackThis is a bash script that posts a message into your Slack channel when changes are pushed. Hook this script into How to InstallNote: some git repositories may be "bare". You'll know if your repo is bare or not by checking for a Download git-slack-hook onto the server which hosts your git repo. For bare repos, copy/rename it as For normal/non-bare repos, copy/rename it as Finally, ConfigurationAdd an Incoming WebHooks integration in your Slack by going to:
For a normal/non-bare repo, configure the webhook URL
For a bare repo:
OptionalSpecify a channel to post in Slack instead of the default:
Specify a username to post as. If not specified, the default name
Specify an icon to display in Slack instead of the default:
Specify an emoji icon to display in Slack instead of the default:
Specify a repository nice name that will be shown in messages:
Specify whether you want to show only the last commit (or all) when pushing multiple commits:
Specify whether you want to show the body of the commit message as well as the title:
Specify if you want to send only certain branches:
Linking to ChangesetsWhen the following parameters are set, revision hashes will be turned into links to a web view of your repository.
For example, if your repository is in Links can also be created that summarize a list of commits:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论