This repository is a helper for working with all the Xamarin University course exercise repositories. It is intended for the Xamarin University curriculum team but is available for anyone to use.
All of the other course repositories are Git submodules of this repository. In order to retrieve all course repositories with it, you need to both clone this repo and retrieve all submodule content. This can be done in many Git GUI applications with a few clicks, but can also be accomplished with the following Git commands.
git clone {this-repository-URL}
cd {new-cloned-repo-path}
git submodule init
git submodule update
- Create a new repo with a name to match the course ID (e.g., XAM123 or IOS234)
- Create a new git repo locally:
git init
in your desired course ID folder - Copy over a LICENSE and .gitignore from another course
- Copy over a README.md file and .github directory from another course, editing the course information (ID, title, GitHub organization, and proposed GitHub repo URL)
- Commit your new files to the repo and push your commits to the new repo created above
- Add a submodule in this repo to the new course repo's master branch:
git submodule add -b master {course-repo-clone-url.git}
- Commit and push the submodule changes to this repo (or submit a pull request)