$ git clone -n https://gitee.com/mgb01105731/gnupg2.git /var/lib/mock/dist-an23-build-125805-46161/root/chroot_tmpdir/scmroot/gnupg2 Cloning into '/var/lib/mock/dist-an23-build-125805-46161/root/chroot_tmpdir/scmroot/gnupg2'... $ git reset --hard 7a6c959061812544f4578f0fbf654b71eaec077f HEAD is now at 7a6c959 update to 2.3.7