$ git clone -n https://gitee.com/src-opencloudos-rpms/cockpit-appstream.git /var/lib/mock/dist-oc8-build-74996-51878/root/chroot_tmpdir/scmroot/cockpit-appstream Cloning into '/var/lib/mock/dist-oc8-build-74996-51878/root/chroot_tmpdir/scmroot/cockpit-appstream'... $ git fetch origin 2e110283e20d2cf9ae817a124f26cc5bf461b400:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/cockpit-appstream * [new ref] 2e110283e20d2cf9ae817a124f26cc5bf461b400 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2e11028 import cockpit-appstream-310.3-2.tl3