不能与aptana一起使用git [英] Can't use git with aptana

查看:145
本文介绍了不能与aptana一起使用git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在git服务器上放置某个东西时,它会给我一个错误:
引用未定义的变量USER

在bash中:echo $ USER给我正确的答案。



它可能是什么?

这是eclipse中的aptana-3插件(一整包)

解决方案

bash会话可能有正确的环境变量集。



但是本地操作系统会话可能不会(例如Windows上的DOS会话)。

您可以从刚刚为 USER 设置正确值的会话中启动aptana吗?



如果仍然失败(如此主题 ),请尝试为 $ HOME 设置正确的值。


When i try to put something on a git server it's givin' me an error: "Reference to undefined variable USER"

In bash: echo $USER giving me correct answer.

What could it be?

It's eclipse with aptana-3 plugin (a whole pack)

解决方案

A bash session might have the correct environment variable set.

But the native OS session might not (like a DOS session on Windows for instance).
Can you launch your aptana from a session which has just before set the correct value for USER?

If it still fails (like in this thread), try also to set the correct value for $HOME.

这篇关于不能与aptana一起使用git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆