그래서 Git Bash를 사용하여 repo를 만들었고 작동합니다 (github.com의 로컬 및 원격 저장소). 테스트를 위해 README 파일을 밀어 넣었습니다. 하지만 망할 놈의 배쉬를 통해,Git push는 Git Bash에서 작동하지만 SmartGit 또는 TortoiseGit에서는 작동하지 않습니다.
Hi SOME_USERNAME! You've successfully authenticated, but GitHub does not provide shell access.
을 그리고 파일과 모든 것을 밀어 수 있어요 :
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[gui]
pruneduringfetch = true
encoding =
[remote "origin"]
url = [email protected]:SOME_USERNAME/some-project-name.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
그리고 $ ssh -V [email protected]
준다 : 내 설정에서 모든 것이 괜찮아 보인다. 는 그러나, 나는 작업을 시도하고 그것은 나에게 다음과 같은 오류 준 : 내가 수동으로 "기원"URL을 변경하는 경우
The remote end hung up unexpectedly
을 : 그것은 일
. 그래서 "git @ ..."에서는 작동하지 않지만 "https : // .."로 작업하십시오. 다른 프로그램 인 SmartGit을 사용해 보았습니다. 또한 나에게
The remote end hung up unexpectedly
을 제공하지만가, SmartGit이 "URL 변경 트릭을"할 때
Push: Authentication failed
Authentication failed Setting remote
Setting remote service path not supported by protocol.
: "https : //로는 ..."그것은 나에게 다음과 같은 오류를 제공합니다 나는이 모든 것들로 완전히 길을 잃었다. 내가 도대체 뭘 잘못하고있는 겁니까?
TortoiseGit과 GitBash가 동일한 SSH 키를 사용하고 있는지 알고 있습니까? – Douglas