标签:简易 地址 好项目 mit git fir 入门教程 use 连接
简易的命令行入门教程:
Git 全局设置:
git config --global user.name "山风"
git config --global user.email "1366885853@qq.com"
创建 git 仓库:
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin xxx (xxx -> 仓库地址) 关联远程仓库的橙汁
git push -u origin master (设置第一次后面使用git push 即可push)
已有仓库?
cd existing_git_repo
git remote add origin xxx(仓库地址)
git push -u origin master
本地创建好项目后如何与github、gitee 上空仓库相连接
标签:简易 地址 好项目 mit git fir 入门教程 use 连接
原文地址:https://www.cnblogs.com/daixixi/p/11625519.html