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