$ git clone -n https://gitee.com/ocs-upgrade/atinject.git /var/lib/mock/dist-ocs23-build-284489-27524/root/chroot_tmpdir/scmroot/atinject Cloning into '/var/lib/mock/dist-ocs23-build-284489-27524/root/chroot_tmpdir/scmroot/atinject'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/atinject * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c03f9a Upgrade to version 2.0.1