$ git clone -n https://gitee.com/happy_orange/xorg-x11-server.git /var/lib/mock/dist-an23-build-96126-45500/root/chroot_tmpdir/scmroot/xorg-x11-server Cloning into '/var/lib/mock/dist-an23-build-96126-45500/root/chroot_tmpdir/scmroot/xorg-x11-server'... $ git reset --hard origin/master HEAD is now at e16dd6d update to 1.20.14