$ git clone -n https://gitee.com/src-opencloudos-rpms/curl.git /var/lib/mock/dist-oc8-build-74778-51283/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-oc8-build-74778-51283/root/chroot_tmpdir/scmroot/curl'... $ git fetch origin 0040d6cdfbeccd35c5572d0a5807d65d1960828e:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/curl * [new ref] 0040d6cdfbeccd35c5572d0a5807d65d1960828e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0040d6c import curl-7.61.1-34.tl3