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