How To Find File History With Git And Visual Studio Code

1. VS Code Timeline feature — easiest view of file history

Explorer: Focus on Timeline View

2. VS Code Open in Github Extension

3. git log -p

4. file history: who & commit message

git log --pretty=format:"%C(auto)%h%d%Creset %C(cyan)(%ci)%Creset %C(green)%cn <%ce>%Creset %s" --name-status --date=short --all --full-history -- _FILENAME_

5. sources

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store