$ git clone -n https://gitee.com/opencloudos-stream/osc.git /var/lib/mock/dist-ocs23-build-276044-25969/root/chroot_tmpdir/scmroot/osc Cloning into '/var/lib/mock/dist-ocs23-build-276044-25969/root/chroot_tmpdir/scmroot/osc'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/osc * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 82a5430 Remove not used macors