将本地工作空间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"
相关推荐
源码方舟8 小时前
【GitHub和Gitee两大平台对比分析】
gitee·github
shx66668 小时前
2.2.1 ROS2 在功能包中编写 Python 节点
开发语言·python·ros2
_李小白8 小时前
【Android FrameWork】第二十天:AudioTrack
android·gitee
十点摆码11 小时前
使用 Jenkins + Gitee + Node 自动化部署 Vue
gitee·node.js·自动化·vue·jenkins
thinkpad123456789014 小时前
ubuntu22.04+miniconda安装ROS2踩坑实录
pycharm·ros2·miniconda
Cx330❀14 小时前
Git 入门指南:从 0 到 1 掌握版本控制
git·ubuntu·gitee·centos·github
蝶恋舞者1 天前
gitee 的使用
gitee
shx66661 天前
2.2 ROS2 使用功能包组织 Python 节点
ros2·功能包
winfreedoms2 天前
gitee本地项目上传方法
gitee
老黄编程2 天前
ros2 jazzy 支持 gazebo jetty 吗?兼容性如何?
ros2·jetty·jazzy