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
The script will auto-detect the component if you're inside its directory, or let you search for one. It handles all the steps below automatically: renaming via `git mv` (to preserve blame history), freezing the old version, creating the export file, and updating `package.json`.
125
+
126
+
If you prefer to do it manually, from the component's directory run:
125
127
126
-
1.`git mv v2 v3` — renames the directory so `v3` inherits full `git blame` history
127
-
2.`cp -r v3 v2` — recreates `v2` as a frozen copy (loses blame history, which is fine)
**Why `git mv` instead of copying?** Plain `git blame` (used by every IDE) only traces history through renames, not copies. If you copy files to create a new version, all blame is lost — every line shows the copy commit as its author.
0 commit comments