$ git clone -n https://gitee.com/src-opencloudos-rpms/cockpit-appstream /var/lib/mock/dist-oc8-build-27719-8538/root/chroot_tmpdir/scmroot/cockpit-appstream Cloning into '/var/lib/mock/dist-oc8-build-27719-8538/root/chroot_tmpdir/scmroot/cockpit-appstream'... $ git reset --hard origin/oc8 HEAD is now at fa38b11 import cockpit-appstream-276-1.tl3