@gw-tools/gw 0.65.2-beta.77.1 → 0.66.0-beta.78.1

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 (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -479,6 +479,7 @@ If you try to add a worktree that already exists, the command will prompt you to
479
479
 
480
480
  - `--no-cd`: Don't navigate to the new worktree after creation
481
481
  - `--no-fetch`: Skip the remote probe (offline mode); don't query origin for branches that aren't yet local
482
+ - `--no-hooks`: Skip pre- and post-checkout hooks for this run
482
483
  - `--from <branch>`: Create new branch from specified branch instead of `defaultBranch`
483
484
  - `--from-staged`: Copy staged files from current worktree to new worktree (see [Staged Files](#staged-files))
484
485
 
@@ -509,6 +510,9 @@ gw checkout main
509
510
  # Create worktree without navigating to it
510
511
  gw checkout feat/new-feature --no-cd
511
512
 
513
+ # Create worktree without running pre/post-checkout hooks
514
+ gw checkout feat/new-feature --no-hooks
515
+
512
516
  # Create worktree from a different branch instead of defaultBranch
513
517
  gw checkout feat/new-feature --from develop
514
518
 
@@ -778,6 +782,7 @@ The `gw pr` command does all of this in a single step.
778
782
 
779
783
  - `--name <name>`: Custom name for the worktree directory (defaults to PR's branch name)
780
784
  - `--no-cd`: Don't navigate to the new worktree after creation
785
+ - `--no-hooks`: Skip pre- and post-checkout hooks for this run
781
786
  - `-h, --help`: Show help message
782
787
 
783
788
  #### Examples
@@ -794,6 +799,9 @@ gw pr 42 --name review-feature
794
799
 
795
800
  # Check out without auto-navigation
796
801
  gw pr 42 --no-cd
802
+
803
+ # Check out a PR without running checkout hooks
804
+ gw pr 42 --no-hooks
797
805
  ```
798
806
 
799
807
  #### Requirements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.65.2-beta.77.1",
3
+ "version": "0.66.0-beta.78.1",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",