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