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