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