2013-05-09 1 views
1

나는 가지고있는 암호가있다!비밀 번호가있을 때 github에서 복제! 그것 안에

git clone https://username:[email protected]/org/repository.git 

나는이 오류가 무엇입니까 :

bash: [email protected]/org/repository.git: event not found 

가 어떻게 암호를 변경하지 않고 문제를 해결할 수있는 그것과 때 다음 구문을 사용하여 자식에서 저장소를 복제하려고?

저는 Linux에 있습니다. 이 문제는 Windows에서 아무 문제없이 사용했습니다.

답변

6

느낌표 만 백 슬래시로 표시됩니다. 그것은 bash (역사 확장)에서 특별한 의미가 있습니다.

git clone 'https://username:[email protected]/org/repository.git' 
:

git clone https://username:password\[email protected]/org/repository.git 

또한 단일 따옴표 (')로 포장 할 수 있습니다

관련 문제