码迷,mamicode.com
首页 > 其他好文 > 详细

新手上路之GitHub

时间:2015-01-28 19:17:09      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:

Setup GitHub client

Refer to https://help.github.com/articles/set-up-git/

1. Sign Up (Sign In): https://github.com/

2. Create New Repository (optional)

3. download and install GitHub client:

  For Windows:  https://windows.github.com/
  For Mac: https://mac.github.com/

4. Run github client, set default local create & clone path.

5. Create new repo, then publish it to server by clicking "Publish Repository". Or clone the repo created in step 2.

  In case you encounter the following issue: "could not resolve host github.com"

  You should: open Git Shell, run command: "git config --global http.proxy http://<login_internet>:<password_internet>@aproxy:aport"

6. To cache your password in Git, run command in Git Shell: "git config --global credential.helper wincred"

 

The config file path: C:\Users\<your username>\.gitconfig

 

Integrate with Eclipse

1. Install egit plugins in Eclipse.

2. Create a new project / import project to the location of github local repository.

3. Right click on project explorer, Team->Commit. Or Commit & Push.

 

新手上路之GitHub

标签:

原文地址:http://www.cnblogs.com/haibinyuan/p/4256686.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!