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