我遇到了Aptana 3的问题。我可以从github克隆项目。但我的问题是,gitignore文件无法正常工作。当我修改gitignore列表中的文件时,它仍然将其显示在修改或提交列表中。.gitignore文件不工作在Aptana 3
如果我通过控制台执行git init,则Aptana ui不会显示文件修改。当我通过UI初始化它时,修改后的文件会在修改时显示星号,但gitignore文件(从github存储库中预先存在)不起作用。有没有简单的方法呢?
谢谢。在我gitignore文件
config/database.yml
修改此文件
例子仍然显示
Git的状态返回以下...
$ git status
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: .gitignore
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Gemfile.lock
# modified: config/database.yml
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .project
你可以请你发布你的.gitignore文件和提交的文件名吗? – leopic 2012-07-18 23:32:39
添加代码片段的照片 – HelloWorld 2012-07-18 23:37:49
您是否还可以在控制台上将'git status'的命令行输出粘贴到aptana隐藏存储库的位置? – 2012-07-18 23:52:21