编程必备github代码仓库使用

第一、无论你用什么语言编程一定要会使用git工具

先自己注册一个帐号
like this 、this is my github

第二、在客户端安装git

第三、开始使用git

git and github is a client and server you can push code to github or pull code to you mac

先在github 建立一个项目名yudn


you can see like this

you will do like this in you client mac

echo "# yudn" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/yudn/yudn.git
git push -u origin master

select your path todo it .like this

我们输入git config --global user.name "youname"设置密码
在输入git config --global user.email "aa@qq.com"设置邮箱


like this code is success upon github

原文地址:https://www.cnblogs.com/qianxiaoruofeng/p/13774056.html