MMD Schema with Git
Checkout Schema, particular branch
Checking out git schema
git clone https://github.com/metabrainz/mmd-schema.git mmd-schema cd mmd-schema
Possible create new branch following changes
We may just want to branch from master
git checkout -b mbs-799
alternatively we may want to branch from another remote repos we are interested, then create new branch that tracks the branch in that remote repository containing the changes we are interested in
git remote add ian https://email@example.com/ianmcorvidae/mmd-schema.git; git fetch ian git checkout --track -b mbs-799 ian/mbs-799;
Pick up any additional changes if neccessary
Commit files to my local version
git commit -a -m "message"
===Remove any files no longer needed --TODO how do we do this
Send to my remote Repos
Create new remote reopos forked from mmd-schema in bitbucket Then map to it and push my branch to it.
git remote add ijabz1 https://firstname.lastname@example.org/ijabz/mmd-schema.git git push ijabz1 mbs-799
Request other review Changes
Login to BitBucket
Go to my new repository and 'Pull'
Choose ijabz/metabrainz-schema and branch from left hand side
Choose the metabrainz-mmdschema repos and master branch on the right-handside
Wait for Reviews
Need at least two If okay then request my pull request is merged into main branch