$ git clone -n https://gitee.com/src-opencloudos-rpms/subscription-manager /var/lib/mock/dist-oc8-build-57118-15241/root/chroot_tmpdir/scmroot/subscription-manager Cloning into '/var/lib/mock/dist-oc8-build-57118-15241/root/chroot_tmpdir/scmroot/subscription-manager'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/subscription-manager * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2e54d32 import subscription-manager-1.28.36-3.tl3