$ git clone -n https://gitee.com/anolis/tone-agent.git /var/lib/mock/dist-an8.8-build-288438-64899/root/chroot_tmpdir/scmroot/tone-agent Cloning into '/var/lib/mock/dist-an8.8-build-288438-64899/root/chroot_tmpdir/scmroot/tone-agent'... $ git fetch origin 3c72f1046a7db408ee262425be647e82d5fe4736:KOJI_FETCH_HEAD From https://gitee.com/anolis/tone-agent * [new ref] 3c72f1046a7db408ee262425be647e82d5fe4736 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3c72f10 spec