bimagic 1.4.5 → 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 +29 -5
  2. package/bimagic +1209 -1129
  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
 
@@ -454,6 +456,12 @@ The `Remove files/folders (rm)` option lets you select files and folders interac
454
456
 
455
457
  Usage from CLI: `bimagic -a` or `bimagic --architect`
456
458
 
459
+ ### Pull latest changes (Option 6)
460
+
461
+ Fetch all updates from remotes and pull the latest changes from all branches.
462
+
463
+ Usage from CLI: `bimagic -p`
464
+
457
465
  ### Merge branches (Option 14)
458
466
 
459
467
  Merge another branch into your current branch using an interactive selector. If conflicts occur, you will be notified to resolve them manually.
@@ -464,7 +472,23 @@ Merge another branch into your current branch using an interactive selector. If
464
472
  2. Select a branch (other than current) to merge into the current one
465
473
  3. If merge succeeds, you get a success message; otherwise, conflicts are reported
466
474
 
467
- ### 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)
468
492
 
469
493
  #### Safety Features:
470
494
 
@@ -506,7 +530,7 @@ Cancels the commit and **unstages** the files. Best for when you want to split w
506
530
  - **Scenario:** You want to trash the last commit completely.
507
531
  - **Result:** Everything from that commit is gone forever. **Use with caution!**
508
532
 
509
- ### Stash operations (Option 16)
533
+ ### Stash operations (Option 18)
510
534
 
511
535
  Manage your git stashes with a comprehensive menu.
512
536