我已将GitHub Client
安装到我的系统中。如何从github存储库进行更新?
我很容易将更改提交到存储库。但是我的同事试图接受我的更新,他无法从存储库中取得应用程序。
我们有GitHub私人存储库。
请让我知道解决这个问题。
我已将GitHub Client
安装到我的系统中。如何从github存储库进行更新?
我很容易将更改提交到存储库。但是我的同事试图接受我的更新,他无法从存储库中取得应用程序。
我们有GitHub私人存储库。
请让我知道解决这个问题。
在跟着这个link之前询问过类似的问题,希望它能帮到你。
基本流程是这样的。
# clone the repository (from github, for example)
git clone [email protected]:username/reponame.git
cd reponame
# edit some files
# add them to the index
git add file1.txt
git add file2.gif
# review your changes
git status
# commit the changes
git commit -m "Decription of my change"
# push them back to the remote repository
git push origin master
如果你的同事应该是:
您应该添加他/她到该项目的合作者名单:请参阅“GitHub help page”。
请注意,即使在免费计划中,用户也可以随时在私人存储库上进行协作。
I.e.如果用户拥有GitHub帐户(即使是免费帐户),则可将其添加到专用存储库。
你检查了http://git-scm.com/book/en/Git-Branching http://git-scm.com/book/en/Git-Basics? – sandrstar 2013-03-07 06:01:00