{"id":16206928,"url":"https://github.com/sleavely/git-skew","last_synced_at":"2026-04-29T00:34:35.240Z","repository":{"id":57154823,"uuid":"458271934","full_name":"Sleavely/git-skew","owner":"Sleavely","description":"Change dates of commits 🕔⇆🕤","archived":false,"fork":false,"pushed_at":"2023-05-06T14:23:55.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T20:13:00.277Z","etag":null,"topics":["cli-app","git"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Sleavely.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,"publiccode":null,"codemeta":null}},"created_at":"2022-02-11T17:03:06.000Z","updated_at":"2023-03-04T03:32:17.000Z","dependencies_parsed_at":"2025-02-13T21:44:56.105Z","dependency_job_id":null,"html_url":"https://github.com/Sleavely/git-skew","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sleavely%2Fgit-skew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sleavely%2Fgit-skew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sleavely%2Fgit-skew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sleavely%2Fgit-skew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sleavely","download_url":"https://codeload.github.com/Sleavely/git-skew/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247721899,"owners_count":20985084,"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":["cli-app","git"],"created_at":"2024-10-10T10:08:57.540Z","updated_at":"2026-04-29T00:34:35.213Z","avatar_url":"https://github.com/Sleavely.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-skew\n\nA tool for manipulating Git history by changing one or more commits' `GIT_AUTHOR_DATE` and `GIT_COMMITTER_DATE` either relative to itself or to a fixed point in time.\n\n🕔⇆🕤\n\n## Installation\n\n```sh\nnpm install -g git-skew\n```\n\n## Usage\n\n```\ngit-skew \u003ccommitOrRange\u003e [--absolute \u003cisoDate\u003e | --relative[-reverse] \u003cduration\u003e] [--verbose] [--dry-run]\n\nOptions\n  --absolute \u003cisoDate\u003e\n      Absolute date to set the matching commits to in ISO8601 format.\n  --relative \u003cduration\u003e\n      Moves commits forward in time relative to the original commit date.\n      Example: --relative 1d2h\n  --relative-reverse \u003cduration\u003e\n      Like --relative but moves backwards in time.\n  --verbose\n    Prints helpful information on what is happening.\n  --dry-run\n    Prints the things that would happen but does not modify the Git repository.\n  --help\n      Displays this message.\n```\n\nThe `commitOrRange` argument follows the [semantics of Git Revision Selection](https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection), but must be quoted if it contains any spaces.\n\n\n\u003e ❗ We strongly advice that you always try your git-skew commands with the `--dry-run` flag to avoid accidentally changing the history of your entire repository.\n\n### Single commit by hash\n\nIf you know the SHA1 of the commit - or at least the short version - and want to change its datetime to a known point in time.\n\n```\ngit-skew 70bd49b --absolute 2025-01-01T12:00:00Z\n```\n\n### The latest commit\n\nThis will update a range of commits to have been committed 1 hour later. It targets everything _after_ `HEAD~1` up to, and _including_, `HEAD`.\n\n```\ngit-skew HEAD~1..HEAD --relative 1h\n```\n\n### Commits made after a certain time\n\nTargets the main branch, starting with commits made after 6pm.\n\n```\ngit-skew 'main@{\"Today 6pm\"}..HEAD' --relative 1h\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleavely%2Fgit-skew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleavely%2Fgit-skew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleavely%2Fgit-skew/lists"}