$ git clone -n https://gitee.com/opencloudos-stream/perl-Lua-API.git /var/lib/mock/dist-oc9-epol-build-94446-59557/root/chroot_tmpdir/scmroot/perl-Lua-API Cloning into '/var/lib/mock/dist-oc9-epol-build-94446-59557/root/chroot_tmpdir/scmroot/perl-Lua-API'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/perl-Lua-API * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d292fef update