[英]Push to local Azure DevOps Git from Release Pipeline
我們有一些腳本分布在多個 Azure DevOps 存儲庫中。 我們的目標是:
我們正在使用發布管道,我們的源代碼庫作為工件。
我們如何對這個本地存儲庫進行身份驗證然后推送提交? 我收到以下錯誤:
2020-03-31T07:35:31.9598572Z ##[error]*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
是否可以使用代理身份或類似的東西?
您只需要在推送之前提供用戶名和電子郵件:
git config user.email "some-email"
git config user.name "some-username"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.