$ git clone -n https://gitee.com/ocs-bot/whatsup.git /var/lib/mock/dist-ocs23-build-117029-8189/root/chroot_tmpdir/scmroot/whatsup Cloning into '/var/lib/mock/dist-ocs23-build-117029-8189/root/chroot_tmpdir/scmroot/whatsup'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/whatsup * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 12e11e8 modify spec