$ git clone -n https://gitee.com/ocs-upgrade/ninja-build.git /var/lib/mock/dist-ocs23-build-212417-15360/root/chroot_tmpdir/scmroot/ninja-build Cloning into '/var/lib/mock/dist-ocs23-build-212417-15360/root/chroot_tmpdir/scmroot/ninja-build'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/ninja-build * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 34d9e6a Upgrade to version 1.12.1