找回密码
 立即注册
搜索
查看: 33|回复: 0

git全局设置及创建仓库

[复制链接]

52

主题

0

回帖

228

积分

管理员

积分
228
发表于 2025-8-22 09:00:53 | 显示全部楼层 |阅读模式
git config --global user.name ""
git config --global user.email ""

mkdir <>
cd <>
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/*/*.git
git push -u origin "master"

cd existing_git_repo
git remote add origin https://gitee.com/*/*.git
git push -u origin "master"

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

SKYPIEA

GMT+8, 2025-9-7 13:53 , Processed in 0.042461 second(s), 22 queries .

快速回复 返回顶部 返回列表