【问题标题】:Setup Git-User in Aptana在 Aptana 中设置 Git 用户
【发布时间】:2013-04-04 08:09:18
【问题描述】:

我正在使用 Aptana Studio 3 Standalone 作为 IDE(不要因此而责怪我,别无选择)。作为 GIT 客户端,我使用 eGit 有一段时间了,但我不太喜欢那里的菜单和选项。

所以,我想给内置的 git 客户端一个机会。我更喜欢它,但我的问题是,在我删除 eGit 后,我​​的用户名在我所做的所有提交上都显示为 unknown

我的选项中没有更改任何内容,但我仍然有条目

Window -> preferences -> Git -> Configuration -> User Settings

email: myname@myaddress.net
name: thisShouldBeUsedForCommitsRight

但似乎 git 客户端完全忽略了这些值?

问题:如何以及在哪里为 Aptana 的集成 git 客户端设置 git 用户名和电子邮件?

【问题讨论】:

    标签: git aptana


    【解决方案1】:

    这似乎是一个长期存在的错误,首先在 2010 and 2011 in this thread 中报告,随后出现在 APSTUD-4247 之类的票证中。

    由于 Aptana 将使用 git 客户端,因此请确保将这些信息设置保存在例如 msygit 中。

    cd /path/to/my/repo
    git config user.name yourName
    git config user.email yourEmail
    

    【讨论】:

    • 做到了。它需要直接在 repo-settings 中有 user- 数据。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多