将本地工作空间robot_ws上传到gitee仓库

bash 复制代码
git config --global user.name "geniusChinaHN"
git config --global user.email "12705243+geniuschinahn@user.noreply.gitee.com"
cd ~/robot_ws
#git init#创建原始仓库时候用
git add .
git commit -m "上传文件内容描述"
#git remote add robot_ws https://gitee.com/geniuschinahn/robot_ws.git   ##创建原始仓库时候用
git push

把这个保存成一个BASE文件执行就差不多了

Git 全局设置:

复制代码
git config --global user.name "geniusChinaHN"
git config --global user.email "12705243+geniuschinahn@user.noreply.gitee.com"

创建 git 仓库:

复制代码
mkdir robot_ws
cd robot_ws
git init 
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/geniuschinahn/robot_ws.git
git push -u origin "master"

已有仓库?

复制代码
cd existing_git_repo
git remote add origin https://gitee.com/geniuschinahn/robot_ws.git
git push -u origin "master"
相关推荐
你叶不叶10 小时前
abap git 如何从 gitee上在线拉取数据(上一步已经配置好证书)
git·gitee·sap·abapgit
7177772 天前
企业研发平台选型指南:从代码托管到全流程研发管理的判断框架
人工智能·gitee
7177772 天前
2026 供应链安全用什么:SBOM、SLSA 与制品库的落地选型
安全·gitee
7177775 天前
2026年测试管理工具选型指南:从12款产品对比看Gitee的适用边界
gitee
米糕闯编程5 天前
鱼香ros2(二十五)导航
机器人·slam·ros2·launch·navigation2
兜里只有三分钱~8 天前
从 URDF 到 SDK:开发者视角拆解启元 T1/Q1 机器人架构
机器人·sdk·仿真·ros2·urdf
7177779 天前
国产研发管理平台怎么选:从排行榜到落地适配的决策框架
gitee
特立独行的猫a12 天前
ROS 2 主流DDS中间件入门:Cyclone DDS 与 Fast DDS 完全指南
中间件·ros2·dds·fast dds·cyclone dds
dreams_dream13 天前
项目想要推送多个平台仓库的方法
gitee·github
71777716 天前
2026年CI/CD工具选哪家比较好:主流方案对比与Gitee选型解析
ci/cd·gitee