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