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