I am new to Git and Github. I have been trying to create a repository in order to commit and push a project of mine onto my github page. I am using github desktop to do it and I am getting a couple of issues that are driving me absolutely crazy.
This is what I am doing right now:
First I create a new repository on Github. Its name is the same as the name of my project on my computer.Then I create a .gitignore file in the repository. Then I open Github Desktop and try to clone the repository to my machine. After that, I move my project folder to the path where the cloned repository is. This is when the issues begin:
First and foremost, when I push my files, the .gitignore file doesn't work. My whole project gets pushed onto Github.
I am also getting the following message pop-up "The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than 10485760 bytes". This keeps popping up every 5 seconds or so. It is driving me insane. I tried to look for maxBuffer in options but it is not in the menu.
I mostly care about issue #1. Am I making a mistake when I create my .gitignore file in my repository on Github? Should I instead just place a new .gitignore file in my local project folder and then push my files from there (I did this too and the .gitignore file was again ifnored)?
Edit: For the ones wondering, I have already tried creating a .gitignore file inside the GitHub project itself, and it didn't work!