$ git clone -n https://gitee.com/ywyw22/logrotate /var/lib/mock/dist-an23-build-197209-60929/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an23-build-197209-60929/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard f9fef4c32e70668b446bfeea8b77c7921ad1f5dc HEAD is now at f9fef4c update to 3.21.0