Skip to content

Commit

Permalink
docs: add description and why
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbe committed Aug 7, 2023
1 parent b6d1806 commit ed42637
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Quick switch between [worktrees](https://git-scm.com/docs/git-worktree) of a git repository.

It preserves the path relative to the root of your repo. In other words, it's the fastest way to go from `worktree1/src/types` to `worktree2/src/types`.

### Demo

https://github.com/thenbe/worktree-welder/assets/33713262/99515c17-832e-4682-913e-6d85169147df
Expand All @@ -26,3 +28,7 @@ alias ww='worktree-welder && cd $(cat /tmp/worktree-welder)'
cd my-project
ww
```

### Why?

https://github.com/ajeetdsouza/zoxide/issues/528

0 comments on commit ed42637

Please sign in to comment.