git pull
を実行するたびにパスワードの入力を求めています。Ubuntuでgit pullのパスワードを入力する必要はありません
私はUbuntuで動作しています。これは私のGitの設定です:
git config --list
user.name=Benlong Heng
[email protected]
credential.helper=cache --timeout=3600
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
[email protected]:benlongheng/benlong-web-app.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
credential.helper=store
私はthis answerを追ってきたが、何らかの理由で、私はまだgit pull
を実行した後に、プロンプトを取得しておいてください。
$ git pull
Enter passphrase for key '/root/.ssh/id_rsa':
私は何かが足りないのですか?何かヒント?
rootとして開発していますか?あなたは本当にすべきではありません。 –
いいえ、私はちょうどrootとしてプルしようとしていました。私は自分のMacでローカルに開発しました。私はLinuxのものには新しいです。 – ihue
パスフレーズであなたの鍵を保護しました。 ssh-agentを参照してください。 http://askubuntu.com/questions/362280/enter-ssh-passphrase-once – k0pernikus