$ git clone -n https://gitee.com/src-opencloudos-rpms/rsyslog /var/lib/mock/dist-oc8-build-31954-9284/root/chroot_tmpdir/scmroot/rsyslog Cloning into '/var/lib/mock/dist-oc8-build-31954-9284/root/chroot_tmpdir/scmroot/rsyslog'... $ git reset --hard origin/oc8 HEAD is now at aea0485 import rsyslog-8.2102.0-10.oc8