You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION.md
+53-29Lines changed: 53 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,24 +28,25 @@ A **GitHub Organization** named **LAF-US** is recommended to host both repos and
28
28
29
29
## Target Structure
30
30
31
+
All content from the current public repos is merged **flat** into the root of `LAF-PUBLIC` — no per-project subdirectories. The goal is to break down silos entirely, not recreate them internally.
32
+
31
33
### LAF-PUBLIC
32
34
33
35
```
34
36
LAF-PUBLIC/
35
37
├── README.md
36
-
├── github-pages/ ← loganfinney27.github.io
37
-
├── the-gemstone/ ← THE-GEMSTONE
38
-
├── ir-court-tracker/ ← IR-Court-Tracker
39
-
├── idex-artifacts/ ← IDEX_Artifacts
40
-
└── py-tutorial/ ← PyTutorial (this repo)
38
+
└── (all files from loganfinney27.github.io, THE-GEMSTONE, IR-Court-Tracker,
39
+
IDEX_Artifacts, and PyTutorial merged at root level)
41
40
```
42
41
42
+
> **Note:** If two source repos contain a file with the same name, resolve the conflict manually during migration before committing.
43
+
43
44
### LAF-PRIVATE
44
45
45
46
```
46
47
LAF-PRIVATE/
47
48
├── README.md
48
-
└── idaho-vault/ ← IDAHO-VAULT (Obsidian archive)
49
+
└── (all files from IDAHO-VAULT merged at root level)
49
50
```
50
51
51
52
---
@@ -66,41 +67,64 @@ LAF-PRIVATE/
66
67
gh repo create LAF-US/LAF-PUBLIC --public --description "All public-facing LAF projects"
67
68
```
68
69
69
-
### Step 3: Migrate each public repo into LAF-PUBLIC as a subdirectory
70
+
### Step 3: Migrate each public repo into LAF-PUBLIC (flat — no subdirectories)
70
71
71
-
Use `git subtree` to preserve commit history for each project:
72
+
Merge each existing repo directly into the root of `LAF-PUBLIC`, preserving commit history:
git commit -m "chore: merge loganfinney27.github.io into LAF-PUBLIC"
105
+
106
+
git push origin main
93
107
```
94
108
95
-
> **Tip:** If preserving full history is not important, you can simply copy the files into subdirectories without the remote merge step.
109
+
> **Conflict resolution:** If two repos have a file with the same name (e.g., `README.md`), Git will flag a merge conflict. Manually combine the content, `git add` the resolved file, then commit before moving to the next repo.
96
110
97
111
### Step 4: Create the LAF-PRIVATE repository
98
112
99
113
```bash
100
114
gh repo create LAF-US/LAF-PRIVATE --private --description "Private LAF projects and archives"
101
115
```
102
116
103
-
Then migrate IDAHO-VAULT into `idaho-vault/` using the same `git subtree` approach.
117
+
Then merge IDAHO-VAULT directly into the root of `LAF-PRIVATE`:
0 commit comments