您的位置:首页 > 编程语言

(已成功)Github的使用

2015-08-07 16:51 225 查看
转载自:http://blog.csdn.net/u010961465/article/details/45368583

1. 在setting里找到  Version  Control,并测试  github账号



2. 连接成功后



3.下载GIT核心文件

    http://git-scm.com/download/win
http://msysgit.github.io/    http://git-scm.com/book/zh/v1/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git(安装git)
4.配置git地址(git.exe的完整路径),并test进行测试



5.点击VCS的enable version control intergration,进行本地仓库创建





点击ok ,在底部提示创建成功一个仓库。(可以在仓位文件夹看到对应的项目文件的详细位置查看)



6.开始上传  github



这里可能会出现 initial commit failed 

  解决:
1.git init
2.git config user.name testname
3.git config user.email "someone@someplace.com"
4.git add -f *
5.git commit -m "some init msg"

7.Git-Add


8.push

	

提示push成功。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Github