$ git clone -n https://gitee.com/mgb01105731/rsyslog.git /var/lib/mock/dist-an23-build-153716-58076/root/chroot_tmpdir/scmroot/rsyslog Cloning into '/var/lib/mock/dist-an23-build-153716-58076/root/chroot_tmpdir/scmroot/rsyslog'... $ git reset --hard 5fe9b83425150b39cda9438d344a17350a06e5f2 HEAD is now at 5fe9b83 optimise spec file