@gw-tools/gw 0.52.0 → 0.52.1-beta.47.2

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 +3 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -968,11 +968,14 @@ gw init git@github.com:user/repo.git
968
968
  5. Creates the default branch worktree (e.g., `main`)
969
969
  6. Automatically navigates to the repository directory (requires shell integration)
970
970
 
971
+ **Empty repositories** are handled automatically — if the remote has no branches or commits, `gw init` creates an initial commit on `gw_root` and sets up the default branch worktree from it.
972
+
971
973
  **Benefits:**
972
974
 
973
975
  - No need to manually run `git clone --bare` or `git worktree add`
974
976
  - Configuration is set up immediately
975
977
  - Ready to use `gw checkout` right away
978
+ - Works with both existing and empty repositories
976
979
 
977
980
  **Notes:**
978
981
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gw-tools/gw",
3
- "version": "0.52.0",
3
+ "version": "0.52.1-beta.47.2",
4
4
  "description": "A command-line tool for managing git worktrees - copy files between worktrees with ease",
5
5
  "keywords": [
6
6
  "git",