I'm using the cloud9 IDE with Ruby on Rails and having an issue with git.
I have a folder in my workspace called .c9 which contains all the cloud9 related files including it's regularly changing metadata.
I've added an ignore to my gitignore but keeps pushing to my bitbucket repository anyway. Worse when I branch off the metadata contained within goes out of sync and git insist i have to resolve the issue before I merge back.
I have no idea what I'm doing wrong here.
My gitignore looks like this:
# Ignore the c9 files.
/.c9
I have also tried
.c9
, /.c9/*
, .c9/*
but no joy...
I've checked to see that it is actually in my workspace with la
returning:
.c9/
.gitignore
Gemfile.lock
README.md
Todo.md
bin/
config.ru
lib/
public/
test/
vendor
.git/
Gemfile
Guardfile
Rakefile
app/
config/
db/
log/
spec/
tmp/
Any thoughts on where I'm going wrong?