I use vscode. Sometimes I seem to click or type something accidentally and a timeline view (similar to the one described in How can I view the Git history in Visual Studio Code?) appears.
How do I close the timeline view?
I thought the option to hide the timeline would be in View > Appearance but I can't see any references to 'timeline' history' 'commits' etc.
Right now I just close the file and reopen it but I'm sure there's a proper solution.
I also unintentionally opened blame history and didn't know how.
The reason why the timeline is opening unexpectedly is that clicking the message above the first line in a file opens and close the latest blame - see red area in the screenshot.
To fix it (thanks GitKraken for the advice on Twitter):
Command/ctrl + shift + P
> GitLens: Open Settings
> then scroll down to Git CodeLens
: