Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.51 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.51 KB

Submitting Patches to Omni

Omni is open source, and patches are always welcome! You can send patches by using these commands:

cd <project>
<make edits>
git add -A
git commit -m "commit message"
git push ssh://<username>@gerrit.omnirom.org:29418/<project> HEAD:refs/for/<branch>

Register at gerrit.omnirom.org and use the username that you registered there in the above command.

Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>

If you are going to make extra additions, just repeat steps (Don't start a new patch), but instead of git commit -m use git commit --amend. Gerrit will recognize it as a new patchset.

To view the status of your and others patches, visit OMNI ROM Code Review

Getting Started with OmniKang

To get started with OmniKang, you'll need to get familiar with Git and Repo.

To initialize your local repository using the OmniKang trees, use a command like this:

repo init -u git://github.com/OmniKang/android.git -b <branch>

Then to sync up:

repo sync -c

Then to build:

 cd <source-dir>; . build/envsetup.sh; brunch <device_name>

If you need more information or a more detailed guide, check Here Our Official IRC Channel: #OmniKang - USERS , #OmniKang-Dev - DEVS