$ git clone -n https://gitee.com/src-anolis-sig/keentune_target.git /var/lib/mock/dist-an23-build-349095-70455/root/chroot_tmpdir/scmroot/keentune_target Cloning into '/var/lib/mock/dist-an23-build-349095-70455/root/chroot_tmpdir/scmroot/keentune_target'... $ git fetch origin 1e9665348f6d81eceb1852bed427131f23e9c130:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-sig/keentune_target * [new ref] 1e9665348f6d81eceb1852bed427131f23e9c130 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e96653 release 2.4.0, not remove runing data and install dir