我們有一個登臺服務器,此刻,當我到達終端服務器並執行git pull
時,一切正常。當我的同事試用時,他被要求輸入我的密碼。我該如何改變這種情況,以便每個人都能夠在該服務器上執行拉取操作,而不僅僅是我?git pull terminal allow everyone
0
A
回答
0
使用ssh。
創建自己的密鑰對like this
然後將公鑰添加到您的到位桶賬號
使用git pull
各自的SSH一個
更換您的遠程鏈接現在將不再要求輸入密碼
0
試試這個代碼通過它寫在終端
git config receive.denyCurrentBranch ignore
相關問題
- 1. Git Hook for git pull
- 2. git pull VS git fetch git rebase
- 3. git tf pull在
- 4. MATLAB git Pull
- 5. Git Pull Aborting
- 6. shell_exec和git pull
- 7. Git pull remote repo
- 8. git windows post pull
- 9. phpstorm git pull --rebase
- 10. git pull errors
- 11. git rebase after pull
- 12. Git pull change log
- 13. 疑難解答git pull
- 14. 配置git讓「git pull」代替「git pull origin master」?
- 15. 撤消git存儲,git pull
- 16. 無法'git submodule foreach git pull'
- 17. 瞭解git pull和git fetch
- 18. git fetch和git pull混淆
- 19. git java wrapper - git pull never ends
- 20. xcode git pull/push crash
- 21. git merge,push,pull confusion
- 22. git submodule commit/push/pull
- 23. Git force pull remote from
- 24. 撤銷git pull --rebase?
- 25. 我可以使用git pull --rebase而不是「git stash git pull git stash pop」嗎?
- 26. 如何設置`git pull`來做`git pull origin master`呢?
- 27. 爲什麼git pull origin master不能工作,但是git pull呢?
- 28. 如何調試:git pull在git pull期間掛起(allways爲54%)
- 29. 「git pull origin」和「git pull remote」有什麼區別?
- 30. git pull和git pull之間的區別--rebase
http://serverfault.com/questions/26954/how-do-i-share-a-git-repository-with-multiple-users-on-a-machine –