$ git clone -n https://gitee.com/ocs-bot/ncompress.git /var/lib/mock/dist-ocs23-build-114363-7658/root/chroot_tmpdir/scmroot/ncompress Cloning into '/var/lib/mock/dist-ocs23-build-114363-7658/root/chroot_tmpdir/scmroot/ncompress'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/ncompress * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dbcf2a1 update patch