in my rails app I have a /public/assets directory. I’m writing a rake task to compile and push assets. After all the assets are generated I want to checkin and push ONLY the assets folder to github.
I have been using:
git add .
git commit -a -m "assets"
git push
Any ideas on how I can update this to only check-in and push /public/assets ?
Thanks
Should be simple:
Please note that this only works, when you didn’t stage (
add) any other files prior to committing.