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