I always struggle when I am ready to push my first commit to a new repository and always end up with errors, so I thought I would document the process here as an aide memoir for me and, hopefully, others will find it useful too.
Prerequisites
These instructions are for when you have already got a folder of code that you want to commit for the first time to git. The first thing to do is to create and setup your .gitignore file. This tells git which files to exclude when uploading. Things to include here are config files with … Read the rest