$ git clone -n https://gitee.com/src-opencloudos-rpms/cockpit-composer.git /var/lib/mock/dist-oc8-build-38278-12354/root/chroot_tmpdir/scmroot/cockpit-composer Cloning into '/var/lib/mock/dist-oc8-build-38278-12354/root/chroot_tmpdir/scmroot/cockpit-composer'... $ git reset --hard origin/oc8 HEAD is now at f06a352 import cockpit-composer-45-1.tl3