您的位置:首页 > 其它

Git简易的命令行入门教程:

2018-01-03 15:34 281 查看
(转自码云)

简易的命令行入门教程:

Git 全局设置:

git config --global user.name "Name"
git config --global user.email "email@email.com"


创建 git 仓库:

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


已有项目?

cd existing_git_repo
git remote add origin https://gitee.com/Name/Name.git git push -u origin master
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git 码云