{"id":22222099,"url":"https://github.com/fabiospampinato/vscode-git-history","last_synced_at":"2025-07-27T16:32:42.484Z","repository":{"id":66053447,"uuid":"125401938","full_name":"fabiospampinato/vscode-git-history","owner":"fabiospampinato","description":"View or diff against previous versions of the current file.","archived":false,"fork":false,"pushed_at":"2024-03-13T03:45:04.000Z","size":1430,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T04:34:59.382Z","etag":null,"topics":["diff","extension","file","git","history","vscode"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabiospampinato.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-03-15T17:17:30.000Z","updated_at":"2025-01-25T15:43:19.000Z","dependencies_parsed_at":"2023-09-01T23:03:27.754Z","dependency_job_id":null,"html_url":"https://github.com/fabiospampinato/vscode-git-history","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/fabiospampinato/vscode-git-history","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fvscode-git-history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fvscode-git-history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fvscode-git-history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fvscode-git-history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/vscode-git-history/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fvscode-git-history/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267387060,"owners_count":24079170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","extension","file","git","history","vscode"],"created_at":"2024-12-02T23:16:52.994Z","updated_at":"2025-07-27T16:32:42.191Z","avatar_url":"https://github.com/fabiospampinato.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git File History\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/fabiospampinato/vscode-git-history/master/resources/logo.png\" width=\"128\" alt=\"Logo\"\u003e\n\u003c/p\u003e\n\nView or diff against previous versions of the current file.\n\nThere are at least a couple of other extensions that provide these functionalities, but they are so bloated with features I don't need that I couldn't even make them work.\n\n## Install\n\nFollow the instructions in the [Marketplace](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-git-history), or run the following in the command palette:\n\n```shell\next install fabiospampinato.vscode-git-history\n```\n\n## Usage\n\nIt adds 5 commands to the command palette:\n\n```js\n'Git: Open File at Commit' // Open the current file at particular commit in time\n'Git: Open File at Commit to the Side' // Open the current file, to the side, at particular commit in time\n'Git: Diff File at Commit' // View the changes made to the current file in a particular commit in time\n'Git: Diff File at Commit against Current' // View the changes made to the current file between now and a particular commit in time\n'Git: Restore File at Commit' // Restore the content of the current file at particular commit in time\n```\n\n## Settings\n\n```js\n{\n  \"gitHistory.details.author.enabled\": true, // Show the name of the commit's author\n  \"gitHistory.details.date.enabled\": true, // Show the date of the commit\n  \"gitHistory.details.hash.enabled\": false, // Show the hash of the commit\n  \"gitHistory.details.hash.length\": 7 // Show only this number of characters from the end of the hash\n}\n```\n\n## Hints\n\n- **Diff against opened files**: sometimes diffing against a previous version of a file is not what you want, try [Diff](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-diff) for diffing against any arbitrary open file you have.\n\n## License\n\nMIT © Fabio Spampinato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fvscode-git-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Fvscode-git-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fvscode-git-history/lists"}