我想从远程仓库拉取最新的更改,以下是步骤:
在11:55时的退出码为1,是因为运行fetch命令花费时间超过了一分钟,所以我停止了构建。我已经等待了更长时间。
非常感谢您的帮助。
git fetch origin +refs/changes/*:refs/remotes/origin/changes/*
在C:\Program Files (x86)\Git\cmd\Git中调用git将其配置为命令行。然而,当TeamCity运行该命令时,它只是等待,等待和等待...
Starting: C:\Windows\system32\cmd.exe /s /c ""c:\Program Files (x86)\Git\cmd\git" fetch origin"
[11:54:31]in directory: C:\BuildAgent\work\99b8cd174ffcc354
[11:55:04]Process exited with code 1
在11:55时的退出码为1,是因为运行fetch命令花费时间超过了一分钟,所以我停止了构建。我已经等待了更长时间。
非常感谢您的帮助。