$ git clone -n https://gitee.com/newstart-gdlc/nde-image.git /var/lib/mock/dist-an8.9-nde-build-378828-71229/root/chroot_tmpdir/scmroot/nde-image Cloning into '/var/lib/mock/dist-an8.9-nde-build-378828-71229/root/chroot_tmpdir/scmroot/nde-image'... $ git fetch origin 34f35ab60a3a10bffd51f5300ca9f067ac6319ac:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-image * [new ref] 34f35ab60a3a10bffd51f5300ca9f067ac6319ac -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 34f35ab 添加依赖