alexiszamanidis / vscode-git-worktrees

A VS Code extension that wraps git worktree operations for simplicity and productivity
https://marketplace.visualstudio.com/items?itemName=GitWorktrees.git-worktrees
MIT License
44 stars 5 forks source link

Feat worktree checkout #21

Closed alexiszamanidis closed 1 year ago

grooc commented 1 year ago

This looks good, i need to dig in, because i don't know yet how to test this / cannot build locally.

alexiszamanidis commented 1 year ago

Hi @grooc,

Apologies for the delay!

I have changed the process flow but haven't added the local branches.

I have been thinking about listing the local branches. In your scenario, you applied some changes to your local branch, and then wanted to create a worktree. To move the changes to your new worktree, you would need to commit them to your current branch. So, your current branch would be ahead and need to revert these changes because you will merge them in the future.

Is this something normal? Do we actually need to implement this?

Please let me know what you think is the best or if I am missing something.