Hi, I’m new to github but I think I’ve figured out the basics. But I’ve read so many tutorials they’ve all merged and confused me, and I’d just like someone to tell me if what I’m doing is right!
I’ve been asked to show I can code PHP by creating a plugin for a particular repository. I’ve created my github account, installed git on my personal computer, and cloned my fork of the repository I’m interested in to my /var/www/html folder on my local machine so I can work on it.
Once I’ve worked on the files I think I’ve to add/stage them and then push them to my personal github fork of the initial repository.
So question 1 is: is that all correct, and if so, how can I share my code changes with the person I’m doing this for?
Question 2 is: there’s never any mention of databases in the tutorials I’ve read. The repository I’ve forked and cloned has an installer which populates a database you create, but what if you need to make database changes? Is there usually a separate database repository? How does that work?