$ git clone -n https://gitee.com/src-anolis-os/libpciaccess.git /var/lib/mock/dist-an23-build-82143-41340/root/chroot_tmpdir/scmroot/libpciaccess Cloning into '/var/lib/mock/dist-an23-build-82143-41340/root/chroot_tmpdir/scmroot/libpciaccess'... $ git reset --hard origin/a23 HEAD is now at 8f424c7 Init upstream libpciaccess for anolis os 23