Git click only one file in Heroku

Can I only click on one file on Heroku, and not on all modified files?

Thanks...

+6
git heroku
source share
3 answers

Not. Git keeps track of the contents of non-files, so you click all or nothing.
If there are files that you do not want to click, add them to the .gitignore file. If you have already completed them, you will still click on them, but any subsequent changes will be ignored.

+6
source share

If you commit only one file, then it will be only one.

+3
source share

You can commit single files

 user@mypc ~$ git add single/path/to.file user@mypc ~$ git commit -m "si" 
-one
source share

All Articles