贝隆

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

设置邮箱

git config --global user.name "xiaof"
git config --global user.email "xffit@163.com"

切换代码库

git remote rename origin cs336-origin

登录你的 GitHub 账号。
点击 "New repository"(新建仓库)。
输入仓库名称(可以与原仓库相同或不同),不要初始化 README/.gitignore(否则后续推送会冲突)。

git remote add origin https://github.com/xiaof-github/cs336.git
git push -u origin main

posted on 2025-08-17 19:52  贝隆  阅读(7)  评论(0)    收藏  举报