每次我想push和/或pull从终端(在 Linux 中)时,我都必须输入密码。如何删除它以便它在没有密码的情况下拉动和/或推动?
通过 SSH 克隆 bitbucket 项目是否有某种技巧,这样您就不必每次都手动输入密码?
我试过遵循他们的文档,并且能够达到运行ssh -T git@bitbucket.org报告成功的程度。
我的 Bitbucket 项目页面报告我的 SSH URL 是:
git@bitbucket.org:myaccount/myproject.git
Run Code Online (Sandbox Code Playgroud)
但是,当我运行时:
git init
git remote add origin ssh://git@bitbucket.org:myaccount/myproject.git
git pull origin master
Run Code Online (Sandbox Code Playgroud)
它失败并出现错误:
conq: invalid repository syntax.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?