$ git clone -n https://gitee.com/ocs-bot/sendmail.git /var/lib/mock/dist-ocs23-build-116014-7979/root/chroot_tmpdir/scmroot/sendmail Cloning into '/var/lib/mock/dist-ocs23-build-116014-7979/root/chroot_tmpdir/scmroot/sendmail'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/sendmail * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 21bfe1a Upgrade to version 8.17.2