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