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