You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some context:
Using git worktrees is growing in popularity since it allows one to checkout multiple branches at once (which avoid having to stash changes when working on multiple branches/PRs at once). This is an example of how I (and I believe, many others) manage their git repositories:
If someone asks me to review changes and/or test something in their PR branch.
I don't have to stash my changes and can work on both in parallel.
The issue:
The current implementation for repoPaths in the config.yml to checkout PRs is quite one-dimensional doesn't account for it. If a worktree already exists for the branch to checkout, gh-dash responds with exit status 1 when it could simply point to the existing worktree directory. Also there is no way to configure gh-dash to create worktrees.
Feature request:
I would love a way to be able to manage PRs using git worktrees fro the gh-dash UI.
Here is a simple way I think this could be achieved using a double asterisk notation:
repoPaths: {ChausseBenjamin/*/*: ~/dev-dir/*/* # Use worktrees for every repo from that user/orgtorvalds/linux/*/*: ~/dev-dir/*/* # Use worktrees for this specific repository }
The text was updated successfully, but these errors were encountered:
Some context:
Using git worktrees is growing in popularity since it allows one to checkout multiple branches at once (which avoid having to stash changes when working on multiple branches/PRs at once). This is an example of how I (and I believe, many others) manage their git repositories:
If someone asks me to review changes and/or test something in their PR branch.
I don't have to stash my changes and can work on both in parallel.
The issue:
The current implementation for
repoPaths
in the config.yml to checkout PRs is quite one-dimensional doesn't account for it. If a worktree already exists for the branch to checkout,gh-dash
responds withexit status 1
when it could simply point to the existing worktree directory. Also there is no way to configure gh-dash to create worktrees.Feature request:
I would love a way to be able to manage PRs using git worktrees fro the
gh-dash
UI.Here is a simple way I think this could be achieved using a double asterisk notation:
The text was updated successfully, but these errors were encountered: