{"id":18511722,"url":"https://github.com/jeremywrnr/git-reclone","last_synced_at":"2025-04-09T04:34:03.751Z","repository":{"id":56874490,"uuid":"53979790","full_name":"jeremywrnr/git-reclone","owner":"jeremywrnr","description":"reclone your git repo","archived":false,"fork":false,"pushed_at":"2023-06-07T00:26:39.000Z","size":45,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T23:43:09.992Z","etag":null,"topics":["clone","gem","git","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/git-reclone","language":"Ruby","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/jeremywrnr.png","metadata":{"files":{"readme":"readme.md","changelog":null,"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":"2016-03-15T21:29:22.000Z","updated_at":"2024-12-07T10:08:53.000Z","dependencies_parsed_at":"2024-11-06T15:51:28.706Z","dependency_job_id":null,"html_url":"https://github.com/jeremywrnr/git-reclone","commit_stats":{"total_commits":67,"total_committers":3,"mean_commits":"22.333333333333332","dds":"0.10447761194029848","last_synced_commit":"73bd5d90dd548491b61feb4ab332a048080f5fb8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremywrnr%2Fgit-reclone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremywrnr%2Fgit-reclone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremywrnr%2Fgit-reclone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremywrnr%2Fgit-reclone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremywrnr","download_url":"https://codeload.github.com/jeremywrnr/git-reclone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980829,"owners_count":21027803,"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":["clone","gem","git","ruby"],"created_at":"2024-11-06T15:29:32.982Z","updated_at":"2025-04-09T04:34:03.254Z","avatar_url":"https://github.com/jeremywrnr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-reclone :rocket:\n\n[![Gem Version](https://badge.fury.io/rb/git-reclone.svg)](https://badge.fury.io/rb/git-reclone)\n[![Build Status](https://app.travis-ci.com/jeremywrnr/git-reclone.svg)](https://app.travis-ci.com/github/jeremywrnr/git-reclone)\n[![MIT](https://img.shields.io/npm/l/alt.svg?style=flat)](http://jeremywrnr.com/mit-license)\n\ndestroy your local copy of a git repo, and reclone it from your remote.\n\n![Screencast](http://i.imgur.com/HIvZCJB.gif)\n\ntested and works well for:\n\n    - github\n    - bitbucket\n\n## setup\n\n    [sudo] gem install git-reclone\n\nThis will enable the `git reclone` command automatically!\n\n\n## usage\n\n    git reclone\n\nreclones from the first git remote. to clone a specific remote, specify some\npart (or all) of the host name. for example:\n\n    git reclone bit\n    git reclone bucket\n    git reclone bitbucket\n\nwill all overwrite the current repository with bitbucket's remote (assuming\nthat some other host/repo name doesn't also match 'bitbucket').\n\n\n## about\n\nsometimes i mess up git histories, with (merges or rebasing, etc), and it\nbecomes more of a headache to figure out how to undo what i did than to just\nreclone the remote copy and apply the changes i want in the right way. i was\ndoing this often enough that i figured it would be nice to have a tool that\njust did this automatically. besides, it can be satisfying to just reclone your\nlocal copy and start anew - after all, what are backups meant for?\n\n## testing\n\n    bundle || gem install bundler \u0026\u0026 bundle\n    rake # running git-reclone's tests\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremywrnr%2Fgit-reclone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremywrnr%2Fgit-reclone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremywrnr%2Fgit-reclone/lists"}