$ git clone -n https://gitee.com/opencloudos-stream/openstack-swift.git /var/lib/mock/dist-ocs23-build-46341-2059/root/chroot_tmpdir/scmroot/openstack-swift Cloning into '/var/lib/mock/dist-ocs23-build-46341-2059/root/chroot_tmpdir/scmroot/openstack-swift'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/openstack-swift * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c231f8 OCS package init