MMD Schema with Git: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:


==Possible create new branch following changes
==Possible create new branch following changes
<pre>
ijabz: git remote add ian https://ianmcorvidae@bitbucket.org/ianmcorvidae/mmd-schema.git; git fetch ian; git checkout --track -b mbs-799 ian/mbs-799;
git remote add ian https://ianmcorvidae@bitbucket.org/ianmcorvidae/mmd-schema.git; git fetch ian; git checkout --track -b mbs-799 ian/mbs-799;

</pre>
== Map Own Repos ==
== Map Own Repos ==
Map own repos created on github to an alias
Map own repos created on github to an alias
<pre>
git remote add ijbaz git@github.com:ijabz/mmd-schema.git
git remote add ijbaz git@github.com:ijabz/mmd-schema.git
</pre>
TODO wrong url, need the one wchich doesnt need public key
TODO wrong url, need the one wchich doesnt need public key



Revision as of 12:44, 10 May 2013

Login to Github

Fork mmd repos so have own repository

Checkout Schema, particular branch

Checking out git schema, swicthing to another branch and making changes to that branch

git clone https://github.com/metabrainz/mmd-schema.git mmd-schema
git checkout branchname

==Possible create new branch following changes

git remote add ian https://ianmcorvidae@bitbucket.org/ianmcorvidae/mmd-schema.git; git fetch ian; git checkout --track -b mbs-799 ian/mbs-799;

Map Own Repos

Map own repos created on github to an alias

git remote add ijbaz git@github.com:ijabz/mmd-schema.git

TODO wrong url, need the one wchich doesnt need public key

Make Chnages

Edit Files

=Pick up any additional changes git pull

Commit files to my local verison

git commit -a -m "message"

Send to my remote Repos

git push ijabz branchname

Request other review Changes

Login to github Go to my repos and 'Pull'

Wait for Reviews

Need at least two If okay then request my pull request is merged into main branch