All Projects → jeremywrnr → git-reclone

jeremywrnr / git-reclone

Licence: other
reclone your git repo

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to git-reclone

slackify
Build Slackbot on Rails using Slack Event API
Stars: ✭ 20 (+81.82%)
Mutual labels:  gem
grape-jwt-authentication
A reusable Grape JWT authentication concern
Stars: ✭ 31 (+181.82%)
Mutual labels:  gem
acts as inheritable
Inheritable functionality for ActiveRecord models.
Stars: ✭ 24 (+118.18%)
Mutual labels:  gem
apfs-clone-checker
An utility to check if two files are clones in macOs APFS.
Stars: ✭ 30 (+172.73%)
Mutual labels:  clone
kein-instagram
Instagram UI with React Native using Native Base UI kit
Stars: ✭ 14 (+27.27%)
Mutual labels:  clone
TorrentLeechBot
A powerful telegram mirror bot..
Stars: ✭ 94 (+754.55%)
Mutual labels:  clone
lightly
Ruby file cache for performing heavy tasks, lightly.
Stars: ✭ 37 (+236.36%)
Mutual labels:  gem
Vanhiupun.github.io
🏖️ Vanhiupun's Awesome Site ==> another theme for elegant writers with modern flat style and beautiful night/dark mode.
Stars: ✭ 57 (+418.18%)
Mutual labels:  gem
acts as user
A gem which handles multiple types of users on a rails app
Stars: ✭ 24 (+118.18%)
Mutual labels:  gem
django-clone
Controlled Django model instance replication.
Stars: ✭ 89 (+709.09%)
Mutual labels:  clone
google holiday calendar
Get holidays via Google Calendar.
Stars: ✭ 21 (+90.91%)
Mutual labels:  gem
flyyer-ruby
Ruby helpers to create https://cdn.flyyer.io URLs | Og:Image as a Service
Stars: ✭ 13 (+18.18%)
Mutual labels:  gem
RandomProxyRuby
Tiny Library for get random proxy (free).
Stars: ✭ 16 (+45.45%)
Mutual labels:  gem
vrt-ruby
Ruby library for interacting with Bugcrowd's VRT
Stars: ✭ 15 (+36.36%)
Mutual labels:  gem
please
please, a sudo clone
Stars: ✭ 40 (+263.64%)
Mutual labels:  clone
extra extra
Manage in-app release notes for your Rails application using Markdown
Stars: ✭ 21 (+90.91%)
Mutual labels:  gem
hscode
📘🖥 A command line reference tool for http status codes.
Stars: ✭ 31 (+181.82%)
Mutual labels:  gem
lockup
Lockup Gem
Stars: ✭ 111 (+909.09%)
Mutual labels:  gem
madness
Instant Markdown Server
Stars: ✭ 54 (+390.91%)
Mutual labels:  gem
dhash-vips
vips-powered ruby gem to measure images similarity, implementing dHash and IDHash algorithms
Stars: ✭ 75 (+581.82%)
Mutual labels:  gem

git-reclone 🚀

Gem Version Build Status MIT

destroy your local copy of a git repo, and reclone it from your remote.

Screencast

tested and works well for:

- github
- bitbucket

setup

[sudo] gem install git-reclone

This will enable the git reclone command automatically!

usage

git reclone

reclones from the first git remote. to clone a specific remote, specify some part (or all) of the host name. for example:

git reclone bit
git reclone bucket
git reclone bitbucket

will all overwrite the current repository with bitbucket's remote (assuming that some other host/repo name doesn't also match 'bitbucket').

about

sometimes i mess up git histories, with (merges or rebasing, etc), and it becomes more of a headache to figure out how to undo what i did than to just reclone the remote copy and apply the changes i want in the right way. i was doing this often enough that i figured it would be nice to have a tool that just did this automatically. besides, it can be satisfying to just reclone your local copy and start anew - after all, what are backups meant for?

testing

bundle || gem install bundler && bundle
rake # running git-reclone's tests
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].