$ git clone -n https://gitee.com/mgb01105731/curl_1.git /var/lib/mock/dist-an23-build-370494-71427/root/chroot_tmpdir/scmroot/curl_1 Cloning into '/var/lib/mock/dist-an23-build-370494-71427/root/chroot_tmpdir/scmroot/curl_1'... $ git reset --hard origin/a23.0 HEAD is now at 58db4c5 update to 8.7.1