$ git clone -n https://gitee.com/src-opencloudos-rpms/mcelog.git /var/lib/mock/dist-oc8-build-74677-51019/root/chroot_tmpdir/scmroot/mcelog Cloning into '/var/lib/mock/dist-oc8-build-74677-51019/root/chroot_tmpdir/scmroot/mcelog'... $ git fetch origin 4d034e937526dae19a45521fcfa8df0d994a4829:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/mcelog * [new ref] 4d034e937526dae19a45521fcfa8df0d994a4829 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4d034e9 import mcelog-195-0.tl3