簡體   English   中英

git:推送事件觸發

[英]git: Event trigger on push

我想知道是否有辦法檢測我何時提交和推送代碼。

The idea came because I'm greedy and I want my GitHub to reflect my "code productivity" but we use gitlab at work and I wanted to write a little bash script that detects when I push and updates a phony private github repo on github.

我在網上查看過,但找不到 git 的事件驅動工作流。
我從哪說起呢?

我在網上查看過,但找不到 git 的事件驅動工作流。

您可以將GitLab事件驅動工作流與GitLab CI/CD 管道一起使用。

例如, IlyaSemenov/gitlab-ci-git-push會將您在 GitLab main上完成的提交推送到您選擇的另一個存儲庫。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM