$ git clone -n https://gitee.com/src-opencloudos-rpms/cockpit-session-recording /var/lib/mock/dist-oc8-build-30642-9139/root/chroot_tmpdir/scmroot/cockpit-session-recording Cloning into '/var/lib/mock/dist-oc8-build-30642-9139/root/chroot_tmpdir/scmroot/cockpit-session-recording'... $ git reset --hard origin/oc8 HEAD is now at e54b270 import cockpit-session-recording-12-1.oc8