$ git clone -n https://gitee.com/opencloudos-stream/python-lockfile.git /var/lib/mock/dist-oc9-epol-build-84387-57330/root/chroot_tmpdir/scmroot/python-lockfile Cloning into '/var/lib/mock/dist-oc9-epol-build-84387-57330/root/chroot_tmpdir/scmroot/python-lockfile'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/python-lockfile * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aca9cd5 package init