$ git clone -n https://gitee.com/ocs-bot/pinfo.git /var/lib/mock/dist-ocs23-build-112808-7410/root/chroot_tmpdir/scmroot/pinfo Cloning into '/var/lib/mock/dist-ocs23-build-112808-7410/root/chroot_tmpdir/scmroot/pinfo'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/pinfo * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7706bf6 Upgrade to version 0.6.13