HOW TO MAKE YOUR OWN REPOS TO SEND US
MikeCriggsNOTE: PLEASE MAKE SURE THAT YOU ARE USING DEVICE REPOSITORIES THAT CAME FROM THE SAME SOURCE. IE: IF YOU ARE GOING TO USE A LINEAGE DEVICE TREE, USE THEIR COMMON TREE (IF APPLICABLE), KERNEL, AND VENDOR AS BASES AS THEY ARE MEANT TO WORK TOGETHER!
1) Git clone the repositories you want to start with as a base into your ROM source (device tree, common tree, kernel, vendor, etc).
EXAMPLE (with a device tree):
git clone git@github.com:LineageOS/android_device_huawei_angler.git -b lineage-16.1 device/huawei/angler
NOTE:
A) "git@github.com:LineageOS/android_device_huawei_angler.git" is the repository we want to clone in this example
B) "-b lineage-16.1" designates that we want to clone the branch "lineage-16.1"
C) "device/huawei/angler" is where we want our device tree to go
2) Create a your own branch and switch to it.
EXAMPLE:
git checkout -b my-new-branch
3) Generate and push SSH and/or GPG keys to your GitHub.com account.
Click on your avatar in the top right-hand corner of the website, click settings, then click SSH and GPG keys.
HOW TO GENERATE SSH KEYS
HOW TO GENERATE GPG KEYS
4) Create a new repository on GitHub.com and name is accordingly (IE: android_device_huawei_angler)
Click on the "+" icon, new repository, then name it.
5) Create a new "remote" in your local repository that points to your new remote repository.
EXAMPLE:
git remote add my-new-repo git@github.com:YourGitHubUsername/android_device_huawei_angler.git
6) Push your local repository to your empty remote repository
EXAMPLE:
git push my-new-repo HEAD:my-new-branch
And you're done! For more information on how to use git, please check out these links: