我已將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