bimagic 1.4.6 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +23 -5
  2. package/bimagic +1206 -1153
  3. package/package.json +2 -4
package/README.md CHANGED
@@ -38,6 +38,7 @@ Bimagic is an interactive command-line tool that streamlines common Git operatio
38
38
  - 📜 The Architect (.gitignore generator)
39
39
  - 🔀 Merge branches with conflict detection
40
40
  - ⏪ Revert commit(s) with multi-select
41
+ - 🪨 Resurrection Stone (Recover lost commits/branches from reflog)
41
42
  - 🎨 Theme Customization (ANSI and Hex color support)
42
43
  - ⏳ Time Turner (Undo last commit)
43
44
  - 🗃️ Stash operations (Push, Pop, List, Apply, Drop, Clear)
@@ -367,9 +368,10 @@ At the top of the interface, a status box summarizes:
367
368
  13. **Summon the Architect (.gitignore)** - Interactive .gitignore generator with 70+ blueprints
368
369
  14. **Merge branches** - Merge a selected branch into the current one
369
370
  15. **Uninitialize repo** – Remove Git tracking from a project
370
- 16. **Revert commit(s)** - Revert one or more commits (multi-select)
371
- 17. **Stash operations** - Manage stashes (push, pop, list, apply, drop, clear)
372
- 18. **Exit** - Quit the wizard
371
+ 16. **Summon the Resurrection Stone (Recover lost code)** - Recover deleted commits or branches using Git reflog
372
+ 17. **Revert commit(s)** - Revert one or more commits (multi-select)
373
+ 18. **Stash operations** - Manage stashes (push, pop, list, apply, drop, clear)
374
+ 19. **Exit** - Quit the wizard
373
375
 
374
376
  ### Clone repository (Option 1)
375
377
 
@@ -470,7 +472,23 @@ Merge another branch into your current branch using an interactive selector. If
470
472
  2. Select a branch (other than current) to merge into the current one
471
473
  3. If merge succeeds, you get a success message; otherwise, conflicts are reported
472
474
 
473
- ### Revert commit(s) (Option 16)
475
+ ### Resurrection Stone (Option 16)
476
+
477
+ The "Resurrection Stone" allows you to recover work that you thought was lost forever. Git keeps a hidden history called the **reflog** for about 30 days, even for commits that are no longer part of any branch.
478
+
479
+ #### Features:
480
+
481
+ - **Reflog GUI**: Search through your hidden Git history with an interactive filter.
482
+ - **Safe Recovery**: Restore any lost commit into a brand-new branch.
483
+ - **Emergency Reset**: Instantly hard-reset your current branch to a previous state if you made a catastrophic mistake.
484
+
485
+ #### How to use:
486
+
487
+ 1. Select **🪨 Summon the Resurrection Stone**.
488
+ 2. Search for the commit you lost (by message or hash).
489
+ 3. Choose whether to create a new branch at that point or hard-reset your current branch.
490
+
491
+ ### Revert commit(s) (Option 17)
474
492
 
475
493
  #### Safety Features:
476
494
 
@@ -512,7 +530,7 @@ Cancels the commit and **unstages** the files. Best for when you want to split w
512
530
  - **Scenario:** You want to trash the last commit completely.
513
531
  - **Result:** Everything from that commit is gone forever. **Use with caution!**
514
532
 
515
- ### Stash operations (Option 16)
533
+ ### Stash operations (Option 18)
516
534
 
517
535
  Manage your git stashes with a comprehensive menu.
518
536