$ git clone -n https://gitee.com/happy_orange/xorg-x11-proto-devel.git /var/lib/mock/dist-an23-build-96284-45580/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel Cloning into '/var/lib/mock/dist-an23-build-96284-45580/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel'... $ git reset --hard cdf591345d9cae9390d25509ee19054f82516e03 HEAD is now at cdf5913 init pacakge from upstream