diff options
author | Uladzimir Pylinski <barthess@yandex.ru> | 2015-01-17 16:07:26 +0300 |
---|---|---|
committer | Uladzimir Pylinski <barthess@yandex.ru> | 2015-01-17 16:07:26 +0300 |
commit | 9dffd62950415d2e4614019953a61808cc20a120 (patch) | |
tree | 5258dc881cd650f32399b71d6054eb3d38f61eb8 /README-git.md | |
parent | 0d0cf20a68c2b99a26c37581afe606e63109010e (diff) | |
download | ChibiOS-Contrib-9dffd62950415d2e4614019953a61808cc20a120.tar.gz ChibiOS-Contrib-9dffd62950415d2e4614019953a61808cc20a120.tar.bz2 ChibiOS-Contrib-9dffd62950415d2e4614019953a61808cc20a120.zip |
Update README-git.md
Diffstat (limited to 'README-git.md')
-rw-r--r-- | README-git.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/README-git.md b/README-git.md index 4e4a57f..ec4c8b6 100644 --- a/README-git.md +++ b/README-git.md @@ -9,34 +9,46 @@ First you need to fork 2 repos: - ChibiOS-contrib Make local clone of your fork +```bash # git clone git@github.com:username/ChibiOS-gitmain.git +``` Make local branch for your feature +```bash # cd ChibiOS-gitmain # git branch feature # git checkout feature +``` There is no code from ChibiOS-contrib in your repo. We have to connect ChibiOS-contrib as a git submodule +```bash # git submodule add git@github.com:username/ChibiOS-Contrib.git community +``` Make branch again, but now in freshly connected submodule +```bash # cd community # git branch feature # git checkout feature +``` Hack, hack, hack... Commit our changes and push to server. Note: you have to do this for both repositories. First ChibiOS-Contrib +```bash # cd community # git add . # git commit -m "Feature implemented" # git push origin feature:feature +``` Now for parent repo +```bash # cd .. # git add . # git commit -m "Feature implemented" # git push origin feature:feature +``` Now all your changes published on github. Just use web interface to send pull 2 requests: for ChibiOS-contrib and for ChibiOS-gitmain. |