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