$ git clone -n https://gitee.com/ocs-bot/whatsup.git /var/lib/mock/dist-ocs23-build-117003-8185/root/chroot_tmpdir/scmroot/whatsup Cloning into '/var/lib/mock/dist-ocs23-build-117003-8185/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 50a21cc modify spec