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