How to view file size before I commit with git?

I want to commit some files to GitHub and I created one ignore file, but how to view the file size before committing?

+6
git github
source share
1 answer

Just a note of terminology - you record changes to the new commit locally (with git commit ) and then push your changes to GitHub. You only push commits, not specific files.

You commented in a comment that what you need is the amount of data that will be loaded when you do git push , in which case Jefromi's answer to the question Imagine how much data will be pressed in git click to help you.

+8
source share

All Articles