$ git clone -n https://gitee.com/src-anolis-os/tang.git /var/lib/mock/dist-an23-build-317534-67816/root/chroot_tmpdir/scmroot/tang Cloning into '/var/lib/mock/dist-an23-build-317534-67816/root/chroot_tmpdir/scmroot/tang'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tang * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c5f17de 14