$ git clone -n https://gitee.com/mgb01105731/logrotate.git /var/lib/mock/dist-an23-build-124046-46111/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an23-build-124046-46111/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard origin/a23 HEAD is now at 8511e4b update to 3.20.1