0
A
답변
2
당신은이 작업을 수행 할 수 없습니다 (당기는) 않는 두 개의 서로 다른 (밀어 용) 암호가 필요 하나가 원격 저장소와 상호 작용하는 방식 중 하나가있는 경우 :
[remote "origin"]
# the lightweight git protocol doesn't use passwords
# this will be used for fetch/pull
url = "git://git.foobar.org/foobar"
# this line is there by default; don't mess with it
fetch = +refs/heads/*:refs/remotes/origin/*
# SO, that's not a C comment... */
# ssh requires password/key
# this will be used for pushes
pushurl = ssh://[email protected]/foobar
을 거기에 올바른 URL을 대용하면 좋을 것입니다.
+0
어떤 파일을 수정해야 하는가? 나는 밀어 넣기 데이터에 git GUI를 사용하고 끌어 오기 데이터에 대해 git bash를 사용하고 있습니다. 나는 창문에서 일하고있다. –
+0
이것은이 repo에 대한 gitconfig에 들어갑니다. repo에 cd하고 git config remote.origin.pushurl 'ssh : // user @ foobar.org/foobar'를 실행하면됩니다. – Cascabel
관련 문제
- 1. xmlhttprequest : txt-file의 "password"
- 2. Jquery ajax password validation
- 3. string.Format 및 "Password"단어
- 4. decrypt aspnetdb password
- 5. PHP Forgot Password 기능
- 6. PHP dehashing the password
- 7. splunk admin password
- 8. Drupal resetting user Password
- 9. PHP file_get_contents() problem
- 10. Heroku, Problem/Question
- 11. Ajax.updater problem
- 12. ASIHTTPRequest problem
- 13. has_many_polymorphs problem
- 14. AspectJ problem
- 15. sprintf_s problem
- 16. debug.keystore problem
- 17. mysql_fetch_array() problem
- 18. CultureInfo.CurrentCulture.DateTimeFormat.AbbreviatedDayNames problem
- 19. send() problem
- 20. wcscat_s problem
- 21. SRP (Secure Remote Password) 용어로
- 22. "cap ec2onrails : setup"requres password
- 23. Drupal에 "Remember my password"추가하기
- 24. sfValidator for compare password sha1
- 25. Ui.getUiEngine(). pushScreen (new ContentScreen()) problem
- 26. Jquery animate problem
- 27. .Net Regex Match Problem
- 28. html select tag problem
- 29. jquery mouseover/mouseout problem
- 30. gridview select problem
비밀번호를 사용하지 않습니다. 어떤 운송 수단을 사용하고 있습니까? –
전송 설정 및 보안 설정은 ServerFault와 관련이 있습니다. 나는 여러 가지 방법으로 (gitosis, Apache + DAV, git-daemon) 해왔고, 전혀 프로그래밍하지 않았습니다. 이러한 이유로 투표를 마감하십시오. –
@Pavel : 이것은 pulling이 읽기 전용 작업이고 종종 인증을 필요로하지 않기 때문에 다른 프로토콜로 푸시와 풀링과 같은 클라이언트쪽에 관한 질문 일 수 있습니다. – Cascabel