Before, I used git locally without using .gitignore
Afterwards,
I created an .gitignore
file, and write all unnecessary files in it.
When I push them to git repo, fatal: The remote end hung up unexpectedly error appears.
I dont want to push ignore files, but, somehow git tries to push them to repo.
Please help me, what is my fault? Thanks