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