I have added folder android to .gitingore
file, executing the following commands:
git rm -rf --cached .
git add .
git commit -m "git"
git push origin master
Folder android anyway tries to push, it's has large files and git throws error that there are files > 100 mb.
I noticed this error on MacBook, when working on my react-native project.
here's my gitignore
.expo/*
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
android/
*.orig.*
web-build/
android/
web-report/
# macOS
.DS_Store
your .gitignore
file seems correct to exclude the android folder.
Maybe you have committed a large file before editing the gitignore ? if yes you can take a look on how to remove the large files from the Git History