将本地工作空间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"
相关推荐
lynn8570_blog14 小时前
Glance创建widget
gitee
敬往事一杯酒哈14 小时前
1.4 ROS2 集成开发环境搭建
ros2
昨天那个谁谁1 天前
ROS2运行时报无法加载create_key等符号错误
c++·python·ros2
向葭奔赴♡1 天前
Android AlertDialog实战:5种常用对话框实现
android·java·开发语言·贪心算法·gitee
thinkpad12345678902 天前
ubuntu22.04+miniconda+ros2的坑(1)
pycharm·anaconda·ros2
shx66662 天前
2.1.2 ROS2 C++ 示例
c++·ros2
TTGGGFF3 天前
开源项目分享 : Gitee热榜项目 2025-12-4 日榜
gitee·开源
源码方舟3 天前
【GitHub和Gitee两大平台对比分析】
gitee·github
shx66663 天前
2.2.1 ROS2 在功能包中编写 Python 节点
开发语言·python·ros2
_李小白3 天前
【Android FrameWork】第二十天:AudioTrack
android·gitee