Search code examples
gitmacosgit-branchiterm2

How do I exit my editor/pager with list of branches?


I opened a list of branches in the terminal(iTerm), and then I don't know how I can go to the current branch in the current situation.

enter image description here

UPD:

The problem is to get out of the list of these branches, that is, to close this editor


Solution

  • To get out of this view in the terminal you just have to press q. It's as simple as that.