{"id":26354551,"url":"https://github.com/woaitsaryan/regit","last_synced_at":"2025-03-16T12:18:05.711Z","repository":{"id":222989660,"uuid":"743575908","full_name":"woaitsAryan/regit","owner":"woaitsAryan","description":"regit is a CLI tool written in Golang to rewrite Git histories","archived":false,"fork":false,"pushed_at":"2024-05-23T06:32:03.000Z","size":154,"stargazers_count":4,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T14:38:01.522Z","etag":null,"topics":["git","github"],"latest_commit_sha":null,"homepage":"","language":"Go","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/woaitsAryan.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-01-15T14:28:40.000Z","updated_at":"2025-02-26T08:40:19.000Z","dependencies_parsed_at":"2024-06-19T15:00:05.478Z","dependency_job_id":null,"html_url":"https://github.com/woaitsAryan/regit","commit_stats":null,"previous_names":["woaitsaryan/regit"],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woaitsAryan%2Fregit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woaitsAryan%2Fregit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woaitsAryan%2Fregit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woaitsAryan%2Fregit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woaitsAryan","download_url":"https://codeload.github.com/woaitsAryan/regit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864823,"owners_count":20360360,"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":["git","github"],"created_at":"2025-03-16T12:18:05.224Z","updated_at":"2025-03-16T12:18:05.702Z","avatar_url":"https://github.com/woaitsAryan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"assets/icon_transparent.png\" alt=\"Logo\" width=\"150\" height=\"150\"\u003e\n\n  \u003ch1 align=\"center\"\u003eRegit\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    CLI tool to manage git repositories and histories\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\n    ·\n    \u003ca href=\"#docs\"\u003eDocs\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/woaitsAryan/regit/issues/new?labels=enhancement\u0026template=feature-request---.md\"\u003eRequest Features\u003c/a\u003e\n    ·\n   \u003ca href=\"https://github.com/woaitsAryan/regit/issues/new?labels=bug\u0026template=bug-report---.md\"\u003eReport Bug\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\n\u003cp align=\"center\"\u003e\nRegit is a CLI tool written in Go that allows you to rewrite git histories. Changing ownership, timestamps, even commit messages to follow conventions, all in a single command\n\u003c/p\u003e\n\n## Warning\nUsing regit multiple times might cause object corruption in your git repository. Please use it after backup up your .git folder.\n\n\u003ch2 name=\"installation\"\u003eInstallation\u003c/h2\u003e\n\n\u003ch3\u003eWindows\u003c/h3\u003e\n\n\u003cpre\u003e\u003ccode\u003epython3 -m pip install --user git-filter-repo\u003c/pre\u003e\u003c/code\u003e\n\u003cpre\u003e\u003ccode\u003ewinget install regit\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch3\u003emacOS\u003c/h3\u003e\n\n\u003cpre\u003e\u003ccode\u003egit clone https://github.com/woaitsAryan/regit \u0026\u0026 cd regit\u003c/pre\u003e\u003c/code\u003e\n\u003cpre\u003e\u003ccode\u003emake setup\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch3\u003eLinux\u003c/h3\u003e\n\u003cpre\u003e\u003ccode\u003egit clone https://github.com/woaitsAryan/regit \u0026\u0026 cd regit\u003c/pre\u003e\u003c/code\u003e\n\u003cpre\u003e\u003ccode\u003emake setup\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch2 name=\"docs\"\u003eDocs\u003c/h2\u003e\n\nRegit currently supports 5 commands:\n\n1. `regit recommit`: Reads all the commit diffs and writes better commit messages, then commits them again.\n2. `regit own`: Makes you the author of all the commits.\n3. `regit blame \u003cname\u003e \u003cemail\u003e`: Makes the user specified by `\u003cname\u003e` and `\u003cemail\u003e` the author of all the commits.\n4. `regit nuke /path/to/file`: Removes the file specified from all the commits in the repository.\n5. `regit retime \u003cduration\u003e`: Rewrites the commit times of all the commits in the repository to be of `x` hours in the past, evenly spaced. Can be any number of hours.\n6. `regit rewind \u003cduration\u003e`: Rewinds the commit times of all the commits to be pulled `x` hours in the past. Can be any number of hours.\n7. `regit fastforward \u003cduration\u003e`: Fast forwards the commit times of all the commits to be pushed `x` hours in the future. Can be any number of hours.\n\n## Common Flags\n\nThe following flags can be used with any command:\n\n- `--source` or `-s`: Specify the path to the git repo. If not specified, the current directory is used.\n- `--branch` or `-b`: Specify a branch.\n- `--verbose` or `-v`: Enable verbose output. This will print additional details about the operations being performed.\n- `--quiet` or `-q`: Enable quiet output. This will suppress most output, printing only essential information.\n\n## Credits\nRegit uses [git-filter-repo](https://github.com/newren/git-filter-repo) under the hood to rewrite git histories. I would like to thank the authors and contributors of git-filter-repo for their work. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoaitsaryan%2Fregit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoaitsaryan%2Fregit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoaitsaryan%2Fregit/lists"}