$ git clone -n https://gitee.com/ocs-upgrade/environment-modules.git /var/lib/mock/dist-ocs23-base-build-318118-33462/root/chroot_tmpdir/scmroot/environment-modules Cloning into '/var/lib/mock/dist-ocs23-base-build-318118-33462/root/chroot_tmpdir/scmroot/environment-modules'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/environment-modules * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fceaaae Upgrade to version 5.5.0