$ git clone -n https://gitee.com/src-opencloudos-rpms/ldns.git /var/lib/mock/dist-oc8-build-74795-51353/root/chroot_tmpdir/scmroot/ldns Cloning into '/var/lib/mock/dist-oc8-build-74795-51353/root/chroot_tmpdir/scmroot/ldns'... $ git fetch origin ebab9bbaabf51769e5950c4fa37feccfaf89f5f8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ldns * [new ref] ebab9bbaabf51769e5950c4fa37feccfaf89f5f8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ebab9bb import ldns-1.7.0-22.tl3