In Git how can I cycle through previously checked out branches?

24 views Asked by At

I know git checkout - goes back to the last branch I checked out.

Is there a simple way to list the last n branches I checked out then index check out one of them?

I’m not looking for external solutions involving tools like bash or grep.

0

There are 0 answers