648 B
648 B
# 演示如何将代码发送到GitHub
1. 查看当前远程仓库
origin http://鐢ㄦ埛鍚?瀵嗙爜@lmhrt.cn:6771/zou/Radar.git (fetch) origin http://鐢ㄦ埛鍚?瀵嗙爜@lmhrt.cn:6771/zou/Radar.git (push)
2. 添加GitHub远程仓库
git remote add github https://github.com/yourusername/yourrepository.git
3. 查看更新后的远程仓库
git remote -v
4. 推送代码到GitHub
git push github main