I want to commit some files to GitHub, and I have created one ignore file, but how do I view the file size before committing?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just a note on terminology – you record changes in a new “commit” locally (with
git commit) and then would “push” your changes to GitHub. You only push commits, not particular files.You’ve clarified in a comment that what you’re after is the amount of data that would be uploaded when you do
git push, in which case Jefromi’s answer to the question Predict how much data will be pushed in a git push should help you.