$ git clone -n https://gitee.com/src-opencloudos-rpms/resource-agents.git /var/lib/mock/dist-oc8-build-100301-64401/root/chroot_tmpdir/scmroot/resource-agents Cloning into '/var/lib/mock/dist-oc8-build-100301-64401/root/chroot_tmpdir/scmroot/resource-agents'... $ git fetch origin d286518c8928876b9734702beb481214e99bd32c:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/resource-agents * [new ref] d286518c8928876b9734702beb481214e99bd32c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d286518 import resource-agents-4.9.0-54.tl3