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

Hou*_*man 3 aptana github

我以前通过托管它并将我的SSH密钥上传到服务器来使用git.

这是我第一次使用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 
Run Code Online (Sandbox Code Playgroud)

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

Cri*_*mbo 8

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

快速解决

安装tk和python-tk包.

长期修复

通过按Ctrl+ Alt+ TCtrl+ Alt+ F1(Ctrl+ Alt+ F7返回,退出tty,到Gnome)访问终端.

在终端中,键入以下内容:

sudo apt-get install tk && sudo apt-get install python-tk
Run Code Online (Sandbox Code Playgroud)

安装完成后,尝试通过Aptana Studio再次推/拉git(点击'clogs'图标>推/拉).这次你应该有一个密码输入查询.

来源:在Eclipse 3.6.2 Helios上使用Egit克隆GitHub仓库的问题