Is there a shortcut that closes all branches at the same time?

jaideson muniz
jaideson muniz EN Basic Posts: 1 New Here

When I go to check an old project, it automatically comes with all the branches open, and I have to close them one by one manually. I even tried using the "space" shortcut, but it only closes the branch you're on. Is there a shortcut that closes everything at once?