https://github.com/kzu/microbit-courses
Courses with content from Microsoft/pxt-microbit
https://github.com/kzu/microbit-courses
Last synced: 23 days ago
JSON representation
Courses with content from Microsoft/pxt-microbit
- Host: GitHub
- URL: https://github.com/kzu/microbit-courses
- Owner: kzu
- License: mit
- Created: 2018-06-12T07:25:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-12T08:42:55.000Z (about 8 years ago)
- Last Synced: 2025-11-21T16:03:19.048Z (8 months ago)
- Size: 49.2 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microbit-courses
Courses with content from Microsoft/pxt-microbit
## updating from upstream
The `courses/en` folder comes staight from https://github.com/Microsoft/pxt-microbit/tree/master/docs/courses.
In order to update it and preserve its history, follow these steps:
```
# Add remote first time you do this only
git remote add -f microbit git@github.com:Microsoft/pxt-microbit.git
# If remote already added, fetch instead
git fetch microbit
git checkout -b staging microbit/master
git subtree split -P docs/courses -b docs-courses
git checkout master
git rm -rf courses/en
git commit -m "Prepare for update" courses/en
git subtree add -P courses/en docs-courses
git branch -D docs-courses staging
git push
```
Updating static images:
```
git checkout -b staging microbit/master
git subtree split -P docs/static/courses -b static-courses
git checkout master
git rm -rf static/en
git commit -m "Prepare for update" static/en
git subtree add -P static/en static-courses
git branch -D static-courses staging
git push
```