$ git clone -n https://gitee.com/opencloudos-stream/nde-fileman.git /var/lib/mock/dist-ocs23-build-128902-8712/root/chroot_tmpdir/scmroot/nde-fileman Cloning into '/var/lib/mock/dist-ocs23-build-128902-8712/root/chroot_tmpdir/scmroot/nde-fileman'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/nde-fileman * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4cb0049 Initial commit