Hi all, newbie to git and github so apologise if this is a real dumb question but I can’t find an answer anywhere.
I have been doing some online courses/code along exersises and am ready to start some real stuff.
My development workflow at the moment is as follows.
- Create a master blank git repo on my local nas.
- Clone it on my dev machine.
- Develope using npm/sass for my css and to minify my code.
So, I end up with a lot of files not required on the production/hosting service. I have a .gitignore for the node folder.
I want to then deploy only the required files via github.
Is there a way to do this easily?
Short of having to edit the ignore file everytime?
Many thanks for any and all help.