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