git及github

来源:互联网 发布:解压软件formac 编辑:程序博客网 时间:2024/05/05 01:19

第一次运行的配置

git config --global user.name "gaoshangbo"git config --global user.email <a target=_blank href="mailto:sdut_gao@126.com">sdut_gao@126.com</a>


在新建项目下git bash

git init //创建一个新的仓库

 

github上建立仓库

建好以后

git remote add origin <a target=_blank href="https://github.com/gaoshangbo/test.git">https://github.com/gaoshangbo/test.git</a>

git push -u origin master



 

0 0