android: Repo sync with the "repo forall" for the lfs repos
Thx to stackoverflow for this
https://stackoverflow.com/questions/67280310/how-to-run-git-lfs-automatically-after-repo-sync
Change-Id: I66bac54d1e11f71d72046e6106ed69f5af2e0cce
diff --git a/README.md b/README.md
index 67a2409..2046d2a 100644
--- a/README.md
+++ b/README.md
@@ -68,9 +68,17 @@
repo init -u https://github.com/omnirom/android.git -b android-15 --git-lfs
-Then to sync up:
+Add this alias in your `~/.bashrc` for an automatically sync :
- repo sync
+```bash
+alias repo-lfs="repo sync && repo forall -c git lfs pull"
+```
+
+Then reload your file with `source ~/.bashrc` in the terminal
+
+Then to sync up with the lfs repo:
+
+ repo-lfs
Then to build:
@@ -105,4 +113,4 @@
"target_path": "vendor/qcom/opensource/commonsys/display",
"revision": "android-12.0"
}
-```
\ No newline at end of file
+```