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