You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
x620
4fb100aaf5
|
9 years ago | |
---|---|---|
mail_archives | 9 years ago | |
mail_base | 9 years ago | |
res_partner_mails_count | 9 years ago | |
README.md | 9 years ago |
README.md
addons-dev
Addons Forge
Initialization
-
Fork this repo
-
Clone to your machine:
git clone git@github.com:USERNAME/addons-dev.git
-
Add remotes
cd addons-dev git remote add upstream git@github.com:yelizariev/addons-dev.git git remote add addons-yelizariev https://github.com/yelizariev/addons-yelizariev.git git remote add pos-addons https://github.com/yelizariev/pos-addons.git git remote add mail-addons https://github.com/yelizariev/mail-addons.git git remote add access-addons https://github.com/yelizariev/access-addons.git git remote add website-addons https://github.com/yelizariev/website-addons.git git remote add l10n-addons https://github.com/yelizariev/l10n-addons.git
Create new branch
(push access is needed)
# specify target repo and branch:
export REPO=addons-yelizariev BRANCH=9.0 FEATURE=some-feature
# fetch remote
git fetch ${REPO}
# create new branch
git checkout -b ${REPO}-${BRANCH}-${FEATURE} ${REPO}/${BRANCH}
# push to upstream
git push upstream ${REPO}-${BRANCH}-${FEATURE}
#
PR to existed branch
If branch (e.g. addons-yelizariev-9.0-some-feature) already exists in addons-dev, send commits to your fork first and then create PR to addons-dev
git push origin addons-yelizariev-9.0-some-feature
Final PR to target repo
# example for addons-yelizariev
cd /path/to/addons-yelizariev
# add remote if it doesn't exist yet
git remote add addons-dev https://github.com/yelizariev/addons-dev.git
# fetch remote
git fetch addons-dev
# create branch
git checkout -b 9.0-some-feature addons-dev/addons-yelizariev-9.0-some-feature
# push to your fork of target repo
git push origin 9.0-some-feature
# create PR to target repo