[ Samples ] Committing modifications with git (git_commit)
-
Add new code changes with confirmation (y: Yes / n: No / d: Skip file / q: Stop)
gitap -
Commit changes (with GPG signing if enabled)
gitc -
Add Change-Id to the commit (optional, once per project)
gitcid -
Add all files without patch, including untracked files
gitaa -
Amend changes to the commit without message changes
gitcae -
Amend changes and message of the commit
gitca -
Sign-off the commit with your identifications
gitcs
-
Cherry-pick a commit SHA1 reference (already fetched)
gitcp SHA1_number -
Cherry-pick a commit with an URL (GitHub, ...)
gitcpup commit_url -
Open the merge tool to fix conflicts (with meld for example)
gitmt -
Open the file editor for manual conflicts fixing
gitmte -
Commit the picked and resolved commit
gitc
[ Samples ] Rebase commits and cleanup (git_commit, git_rebase)
-
Reorder the last 8 commits (interactively)
gitr 8 -
Reorder since a commit SHA1 reference (interactively)
gitrt SHA1_number -
Continue the commits rebase
gitrc -
Skip the commit from rebase
gitrs -
Abort the commits rebase
gitra -
Delete all unmerged differences
gitcl -
Reset to a specific SHA1 reference
gitrt SHA1_number -
Reset to a FETCH_HEAD after fetching
gitrh -
Remove the last commit from HEAD
gitro -
Amend the last comment into the previous one
gitsl
-
Search directory for a word or multiple words
gs word_to_searchgs 'words to search -
Search in all Android.mk files
gca word_to_searchgca 'words to search' -
Search inside binary files (like libraries)
binarysearch word -
Replace inside binary files (like libraries)
binaryeditor word new_word
[ Samples ] Android devices and ROM helpers (repo_helpers, tools)
-
Return to repository root
croot -
Open repository manifests
reporoomserv -
Sync repository with optimized flags
reposy -
Initiate device environments based on AOSP or LineageOS
repos device_codename -
Switch between multiple local_manifests_* folders
reposwitcher -
See the CCache status and usage while building
repocache -
Compare device overlays with their original .xml
overlaycompare path/to/overlay.xml
[ Samples ] Packages and ROM compilations helpers (release_helpers, release_packages)
-
Properly cleanup necessary outputs for rebuilds
outdevcl device_name -
Build a package quickly without ninja
mmo paths_or_module_names -
Build a package quickly and install results
mmi paths_or_module_names -
Build a package quickly and package into .zip
mmmzip paths_or_module_names -
Package a git commit into a .zip
gitzip SHA1_number -
Sign a zip for secured recoveries
signzip zip_to_sign.zip