{"id":18498548,"url":"https://github.com/xpodev/local-history","last_synced_at":"2025-04-09T00:31:22.530Z","repository":{"id":91064536,"uuid":"349961970","full_name":"xpodev/local-history","owner":"xpodev","description":"Visual Studio Code extension for maintaining files versions","archived":false,"fork":false,"pushed_at":"2022-11-08T16:05:41.000Z","size":2659,"stargazers_count":12,"open_issues_count":3,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-23T19:51:23.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=xpo.local-history","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xpodev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2021-03-21T10:15:58.000Z","updated_at":"2024-12-15T02:43:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"74ad3bcc-8094-403d-baf7-7e6587cc89fd","html_url":"https://github.com/xpodev/local-history","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Flocal-history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Flocal-history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Flocal-history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Flocal-history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpodev","download_url":"https://codeload.github.com/xpodev/local-history/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247949893,"owners_count":21023410,"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","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":[],"created_at":"2024-11-06T13:41:10.420Z","updated_at":"2025-04-09T00:31:22.517Z","avatar_url":"https://github.com/xpodev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local History\n\nAn extension for VS Code for maintaining versions of your files easily without saving all the files content.\n\n\nEvery time a file is saved, Local History will compare the old version to the new version and save the differences.\nAll differences are saved inside the folder in the configuration (default: `.lh`).\n\nThe Local History folder is structured like the root folder for easy navigation.\n\nIgnored files are stored in `.lh/.lhignore` as Regular Expressions.\n\nLocal History uses [jsdiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\n\n## Features\n\n- Saving differences between files without copying the whole content.\n- Comparing versions side by side with highlighting the changes.\n- Graphical User Interface for managing, editing and restoring old versions.\n- Adding commits to organize your changes.\n\n### Overview\n\nEvery time a file is saved, a diff is saved inside the difference folder which can be configured from the extension settings.\nYou can maintain your versions in the Local History bar.\n\n![Overview](https://raw.githubusercontent.com/xpodev/local-history/main/media/overview.gif)\n\n### Create Commit\n\nCreate commit if you're happy with the current code.\nDon't worry, older commits are also saved if you want to go back or compare.\n\n![Create Commit](https://raw.githubusercontent.com/xpodev/local-history/main/media/create-commit.gif)\n\n\n## Extension Settings\n\n```\n\"local-history.enable\": Determine if the extension will be active and track file changes. Can be changed in all scopes (User, Workspace  and Folder).\n\"local-history.localHistoryPath\": Local history directory name, relative to the workspace root.\n\"local-history.browser.descending\": Change the diffs order in the Diff View. \n\"local-history.commits.clearPatchesOnNewCommit\": If true, all old patched will be deleted when new commit is being created. This configuration helps save some disk space. \n\"local-history.commits.patchDelay\": The time to wait between saving new diffs. Each file have his own time stamp.\n\"local-history.date.dateFormat\": The format for date representation (see below). \n\"local-history.date.dateRepresentation\": After the time passed the browser will show the date (formatted as date.dateFormat) instead of how much time passed (e.g. 5 minutes ago).\n```\n\n## Known Issues\n\n- Some features does not work as expected when using SSH.\n- Notebooks differences are not being saved - see [#9](https://github.com/xpodev/local-history/issues/11).\n\n## Release Notes\n\n## 1.6.0\n- Added config for the differences folder.\n\n## 1.5.0\n- Added global ignored files.\n\n## 1.4.0\n- Local History dir is now hidden.\n\n### 1.3.0\n- Added support for symbolic links.\n\n### 1.0.6\n- Added command to open the diff for the active file.\n\n### 1.0.4\n- Added Commit All command.\n- Fixed some single root workspace issue.\n\n### 1.0.2\n- Changed default extension enablement to false.\n- Added enable prompt.\n- Added icon :)\n\n### 1.0.0\n- Initial release of Local History.\n\nFull changelog can be found [here](https://github.com/xpodev/local-history/blob/main/CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpodev%2Flocal-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpodev%2Flocal-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpodev%2Flocal-history/lists"}