|
| 1 | +# 🚀 React-Revisions Monorepo |
| 2 | + |
| 3 | +A **Yarn Workspace Monorepo** containing multiple React apps. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## 📥 Clone & Setup |
| 8 | +```bash |
| 9 | +git clone https://github.com/CodeMonitor-lab/React-Revisions.git |
| 10 | +cd React-Revisions |
| 11 | + |
| 12 | +📦 Install dependencies (monorepo-aware) |
| 13 | + yarn install |
| 14 | + |
| 15 | +# ▶️ Run all apps concurrently (from root package.json) |
| 16 | +yarn dev |
| 17 | + |
| 18 | +# 👉 Or run a specific app only: |
| 19 | +yarn workspace facebook-login-clone dev |
| 20 | +yarn workspace React-Cards-Layout dev |
| 21 | +yarn workspace ToggleNav dev |
| 22 | + |
| 23 | +``` |
| 24 | + |
| 25 | +## 💡 Why Use Git LFS? |
| 26 | +- GitHub blocks files **larger than 100MB**. |
| 27 | +- Keeps your repository **fast and lightweight**. |
| 28 | +- Stores large assets (images, videos, zips, PDFs) **outside of Git history**, reducing repo size. |
| 29 | +- Works seamlessly with normal Git commands. |
| 30 | + |
| 31 | +📚 Learn more: |
| 32 | +- 🌐 [Git LFS Website](https://git-lfs.com) |
| 33 | +- 👉 [Git LFS Setup Guide (Windows)](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage?platform=windows) |
| 34 | +- 👉 [Git LFS Setup Guide (macOS)](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage?platform=mac) |
| 35 | + |
| 36 | +After installing, run: |
| 37 | +```bash |
| 38 | +git lfs install |
| 39 | + |
| 40 | +``` |
| 41 | +``` |
| 42 | +
|
| 43 | +# ⚙️ Git LFS Setup (Ubuntu/Debian) |
| 44 | +sudo apt update && sudo apt install -y git-lfs |
| 45 | +
|
| 46 | +# 🔧 Enable Git LFS globally |
| 47 | +git lfs install |
| 48 | +
|
| 49 | +# 📑 Track common large file types |
| 50 | +git lfs track "*.png" "*.jpg" "*.jpeg" "*.gif" "*.mp4" "*.zip" "*.pdf" |
| 51 | +
|
| 52 | +# ✅ Commit tracking rules |
| 53 | +git add .gitattributes |
| 54 | +git commit -m "chore: configure Git LFS tracking" |
| 55 | +
|
| 56 | +# 🚀 Push to GitHub |
| 57 | +git push origin main |
| 58 | +
|
| 59 | +# 🔍 Verify tracked files |
| 60 | +git lfs ls-files |
| 61 | +
|
0 commit comments