将本地工作空间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"
相关推荐
boss-dog13 小时前
ROS2-humble 机器人开发笔记
ros2·humble
7177771 天前
国内 AI 研发效能工具怎么选:2026 年基于公开信息的选型框架与 Gitee 实践
人工智能·gitee
7177777 天前
国产研发中台怎么选:以 Gitee 为锚点的技术决策参考
gitee
7177777 天前
支持混合云的 DevOps 平台有哪些:Gitee、Azure DevOps、GitLab、Jenkins、JFrog 横向对比
gitee·azure·devops
小白的码BUG之路9 天前
Jenkins -- gitee+docker+harbor+k8s 部署项目
docker·gitee·jenkins
你叶不叶9 天前
abap git 如何从 gitee上在线拉取数据(上一步已经配置好证书)
git·gitee·sap·abapgit
71777711 天前
企业研发平台选型指南:从代码托管到全流程研发管理的判断框架
人工智能·gitee
71777711 天前
2026 供应链安全用什么:SBOM、SLSA 与制品库的落地选型
安全·gitee
71777714 天前
2026年测试管理工具选型指南:从12款产品对比看Gitee的适用边界
gitee
米糕闯编程14 天前
鱼香ros2(二十五)导航
机器人·slam·ros2·launch·navigation2