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