$ git clone -n https://gitee.com/src-anolis-os/hdparm.git /var/lib/mock/dist-an23-build-228265-62390/root/chroot_tmpdir/scmroot/hdparm Cloning into '/var/lib/mock/dist-an23-build-228265-62390/root/chroot_tmpdir/scmroot/hdparm'... $ git reset --hard origin/a23 HEAD is now at 2b1bb92 update to 9.65