Skip to content

git checkout/switch always adds --detach. Could it be bypassed ? #1704

Answered by ibhagwan
dprophete asked this question in Q&A
Discussion options

You must be logged in to vote

369e2eb

The above commit changes the current behavior to call git switch branch.

By settinggit.branches.remote="detach" users can restore the old behavior, can also be done once with:

:FzfLua git_branches remotes=detach

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dprophete
Comment options

@mosheavni
Comment options

@ibhagwan
Comment options

Answer selected by dprophete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants