Skip to content

Conversation

@TamaMcGlinn
Copy link

I had this code commented out for the past half year; time to formalise the option so others can use it.

For me, an additional fetch is really annoying because it adds more than 10 seconds to this workflow which I use multiple times per day, and I already have a different binding to fetch explicitly.

Default behaviour unchanged; add this to your config to skip fetch (also updated the docs):

require("git-worktree").setup({
    fetch_on_create = false
})

@TamaMcGlinn
Copy link
Author

This fixes #85

@HoffsMH
Copy link

HoffsMH commented Nov 28, 2022

would love to see this, for those of us who have our ssh credentials on something like a yubikey that requires a touch to activate this sort of thing can get annoying

@TamaMcGlinn
Copy link
Author

@ThePrimeagen could you please merge this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants