$ git clone -n https://gitee.com/src-anolis-os/xmodmap.git /var/lib/mock/dist-an23-build-144136-57677/root/chroot_tmpdir/scmroot/xmodmap Cloning into '/var/lib/mock/dist-an23-build-144136-57677/root/chroot_tmpdir/scmroot/xmodmap'... $ git reset --hard origin/a23 HEAD is now at 1ce55b0 init from upstream