Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSteven Worley
3,615 Pointstmp files being commited to git
Why are my tmp files being commited to git? Does it matter?
Jason had 9 files changed, I had 29!
git commit -m "Add specs and code for editing todo items"
[master e7dd9ce] Add specs and code for editing todo items
29 files changed, 3358 insertions(+), 8 deletions(-)
create mode 100644 app/views/todo_items/edit.html.erb
create mode 100644 spec/features/todo_items/edit_spec.rb
create mode 100644 tmp/cache/assets/development/sass/65745130395085d55bde1508aa94b41972a627d2/todo_items.css.scssc
create mode 100644 tmp/cache/assets/development/sprockets/1583d6d32f03b1b7857fff67162b857b
create mode 100644 tmp/cache/assets/development/sprockets/3cb8b6cf371ff7cec4e460fc87bdea83
create mode 100644 tmp/cache/assets/development/sprockets/42463d43ac24a0d7cb636a43b7eac7f1
create mode 100644 tmp/cache/assets/development/sprockets/61fb123e959be29a9e1adb6a1cba0f8a
create mode 100644 tmp/cache/assets/development/sprockets/7bbcc918ce4ac5685af3d9e074d2596a
create mode 100644 tmp/cache/assets/development/sprockets/e7abb841aca6a05f68bc2f393263bbca
create mode 100644 tmp/pids/server.pid
2 Answers
Kevin Korte
28,149 PointsIt's probably unnecessary. You could add the tmp folder to your .gitignore file and it wouldn't track them anymore.
Maciej Czuchnowski
36,441 PointsThat is weird. Your .gitignore file in the project directory should have had these lines by default:
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
If it doesn't - add them.