You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just some docs for me to refer to when publishing to the official repo
Initial setup Update branch
# Fetch fork of main repo
git clone git@github.com:Josh5/repo-scripts.git
cd repo-scripts
git checkout matrix
git remote add upstream git@github.com:xbmc/repo-scripts.git
git pull upstream matrix
Adding / Updating a module
New module:
# Checkout a new repo as a new branch
git checkout --orphan script.module.MODULE_NAME
# Update this new branch
git rm --cached -r .
Existing module:
git checkout script.module.MODULE_NAME
Creating A PR
# Checkout the official branch
git checkout matrix
# Create PR branch
git checkout -b matrix-script.module.MODULE_NAME
# Use subtree to place add-on into main repo tree
git read-tree --prefix=script.module.MODULE_NAME/ -u script.module.MODULE_NAME