0
git pull 명령을 실행하는 박쥐 파일을 만들고 싶습니다. 나는 다음의 .bat 파일이 있습니다퍼티를 사용하는 git pull은 암호를 묻습니다.
ssh.cmd
cd [path to my putty installation]
Start putty.exe -ssh [path to server] -l [username] -pw [password] -m C:[path to text file]/update.txt
다음 코드
cd [to domain where i want gitt pull to be executed]
git pull https://[username]@bitbucket.org/[username]/[project].git
이 작동과 txt 파일을하지만, 퍼티는 자식에 대한 암호를 묻습니다. 그러나, 나는 그것을 넣을 수 없습니다. 어떻게 명령과 함께 자식 암호를 전달합니까? 또는 퍼티 작동시 비밀번호 입력을 하시겠습니까?