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
There is a very convenient way to switch back to the previous n-th branch in the current worktree, e.g. after git switch next; git switch pu; git switch master; git switch --detach, git switch @{-3} switched to next (i.e. the 3rd-last branch in this worktree).
I frequently forget which branches I checked out, in which order, though, so I would need some help with determining the correct n.
Maybe this is a good opportunity to implement sort of an interactive mode for git switch, where I could pick from the list of recent branches.
The text was updated successfully, but these errors were encountered:
There is a very convenient way to switch back to the previous n-th branch in the current worktree, e.g. after
git switch next; git switch pu; git switch master; git switch --detach
,git switch @{-3}
switched tonext
(i.e. the 3rd-last branch in this worktree).I frequently forget which branches I checked out, in which order, though, so I would need some help with determining the correct
n
.Maybe this is a good opportunity to implement sort of an interactive mode for
git switch
, where I could pick from the list of recent branches.The text was updated successfully, but these errors were encountered: