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