In my local repo, I have large files that I don’t wish to commit or upload to the remote repo. If I add these files to .gitignore, will they still be uploaded to the remote repo by git push command?
>Solution :
If you add the correct path to the file in the .gitignore, the file won’t be added if you use git add . and it won’t be pushed if you type git push.
So short answer, no