$ git clone -n https://gitee.com/ocs-upgrade/fetchmail.git /var/lib/mock/dist-ocs23-build-284664-27555/root/chroot_tmpdir/scmroot/fetchmail Cloning into '/var/lib/mock/dist-ocs23-build-284664-27555/root/chroot_tmpdir/scmroot/fetchmail'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/fetchmail * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 820d917 Upgrade to version 6.4.39