This is the repository for Anki on Android. For more details see:
The branches for future releases are:
- Feature release: v2.1-dev
To contribute, please base your changes on one of the two branches above and
send a pull request.
Changes for a maintenance release are usually limited to bug fixes.
Close to a release, you might be asked to contribute to new features a next release.
To browse the code of previous releases, use one of the tags:
AnkiDroid is developed using release branches.
Each upcoming release has a named branch with the "-dev" suffix.
To contribute, you should clone this repository and build on top of one of the release branches.
Go to the ankidroid organization repository and click the
Fork button at the top of the main repository page to create your own fork.
Follow the Github instructions to check out a copy of your repository.
Add the AnkiDroid repository as a remote:
git remote add ankidroid git://github.com/ankidroid/Anki-Android.git
Fetch the latest version of the AnkiDroid repository:
git fetch ankidroid
Create a new feature branch for what you want to contribute:
git checkout --no-track ankidroid/v2.1-dev -b feature-name
At this point, you should edit the code and commit your changes.
It is best to create a single commit with all the changes you want to contribute.
If you created multiple commits, you can use
git rebase to merge them into a single one.
You can now make a
Pull request using the button at the top of your repository page.
Make sure the request is made against the correct release branch, e.g.,
v2.1-dev in the example above.