如何使用Aptana Studio通过用户名和密码访问GitHub的存储库?

时间:2013-03-05 12:03:56

标签: github aptana

我之前一直在使用git,我自己托管并将SSH密钥上传到服务器。

这是我第一次使用Github并希望通过用户名和密码链接到它。

我已将该项目链接起来,当我尝试提取时,而不是要求输入用户名和密码,我收到此错误消息:

/opt/Aptana_Studio_3/plugins/com.aptana.git.core_3.0.0.1350339236/os/linux/askpass.tcl: 3: exec: wish: not found
error: unable to read askpass response from '/opt/Aptana_Studio_3/plugins/com.aptana.git.core_3.0.0.1350339236/os/linux/askpass.tcl'
fatal: could not read Username for 'https://github.com': No such device or address 

我在哪里设置用户名和密码?

1 个答案:

答案 0 :(得分:8)

' exec:wish:not found'部分错误意味着缺少tk和python-tk包。

快速修复

安装tk和python-tk软件包。

长时间修复

Ctrl + Alt + T Ctrl + Alt + F1 Ctrl + Alt + F7 返回tty,返回Gnome)。

在终端中输入以下内容:

sudo apt-get install tk && sudo apt-get install python-tk

安装完毕后,尝试通过Aptana Studio再次推/拉git(点击' clogs' icon>推/拉)。这次你应该会看到密码输入查询。

来源:Problems cloning a GitHub repo using Egit on Eclipse 3.6.2 Helios