$ git clone -n https://gitee.com/newstart-gdlc/nde-customization.git /var/lib/mock/dist-an8.9-nde-build-377782-71229/root/chroot_tmpdir/scmroot/nde-customization Cloning into '/var/lib/mock/dist-an8.9-nde-build-377782-71229/root/chroot_tmpdir/scmroot/nde-customization'... $ git fetch origin ef7dfcf8a7529e87e39065abcec40b655ed6ae42:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-customization * [new ref] ef7dfcf8a7529e87e39065abcec40b655ed6ae42 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ef7dfcf 更新代码