$ git clone -n https://gitee.com/src-opencloudos-rpms/oscap-anaconda-addon.git /var/lib/mock/dist-oc8-build-38227-12339/root/chroot_tmpdir/scmroot/oscap-anaconda-addon Cloning into '/var/lib/mock/dist-oc8-build-38227-12339/root/chroot_tmpdir/scmroot/oscap-anaconda-addon'... $ git reset --hard origin/oc8 HEAD is now at 2717eff import oscap-anaconda-addon-1.2.1-12.tl3