简易的Git命令行入门教程

 

 

复制代码
Git 全局设置:

git config --global user.name "Nemo_bubu"
git config --global user.email "7398267+nemo_bubu@user.noreply.gitee.com"
创建 git 仓库:

mkdir lianxi2
cd lianxi2
git init 
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/Nemo_bubu/lianxi2.git
git push -u origin "master"
已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/Nemo_bubu/lianxi2.git
git push -u origin "master"
复制代码

 

posted @   一只艾米果  阅读(45)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
· 三行代码完成国际化适配,妙~啊~
历史上的今天:
2019-06-20 float类型数据精度问题:12.0f-11.9f=0.10000038,"减不尽"为什么?
点击右上角即可分享
微信分享提示