$ git clone -n https://gitee.com/happy_orange/libxudp.git /var/lib/mock/dist-an8-exp-build-259315-62434/root/chroot_tmpdir/scmroot/libxudp Cloning into '/var/lib/mock/dist-an8-exp-build-259315-62434/root/chroot_tmpdir/scmroot/libxudp'... $ git reset --hard origin/a8 HEAD is now at e622738 update to 1.0.3