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