{"id":16445785,"url":"https://github.com/mslinn/git_update","last_synced_at":"2026-05-15T10:35:48.032Z","repository":{"id":163136872,"uuid":"637270233","full_name":"mslinn/git_update","owner":"mslinn","description":"Updates trees of git repositories","archived":false,"fork":false,"pushed_at":"2023-11-12T03:31:07.000Z","size":121,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T01:11:53.960Z","etag":null,"topics":["git","rugged"],"latest_commit_sha":null,"homepage":"https://www.mslinn.com/git/1500-update-repos.html","language":"Ruby","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/mslinn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-05-07T03:07:05.000Z","updated_at":"2023-11-19T02:43:19.000Z","dependencies_parsed_at":"2023-11-12T04:23:32.217Z","dependency_job_id":"8762a36a-4b22-4dc9-9aca-58a2598e21d8","html_url":"https://github.com/mslinn/git_update","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/mslinn%2Fgit_update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fgit_update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fgit_update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fgit_update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/git_update/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240831380,"owners_count":19864718,"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","rugged"],"created_at":"2024-10-11T09:45:26.705Z","updated_at":"2026-05-15T10:35:43.010Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable-file MD012, MD014 --\u003e\n# `update` - Update Trees of Git Repos [![Gem Version](https://badge.fury.io/rb/git_update.svg)](https://badge.fury.io/rb/git_update)\n\nThis Ruby gem installs the `git-update` command,\nwhich scans git directory trees and updates them.\nDirectories containing a file called `.ignore` are ignored.\n\n## Usage\n\nThe `git-update` command requires at least one parameter:\nthe names of the top-level directories to update.\n\nThe following updates the directory tree of git repos under the `/data/work` directory:\n\n```shell\n$ git update /data/work\n```\n\nThe following accomplishes the same thing:\n\n```shell\n$ export work=/data/work\n\n$ git update $work\n```\n\nThe following accomplishes the same thing:\n\n```shell\n$ git-update $work\n```\n\nThe following updates the directory trees of git repos pointed to by `$work` and `$sites`:\n\n```shell\n$ export work=/data/work\n\n$ export sites=/var/www\n\n$ git update $work $sites\n```\n\n\n## Installation\n\nType the following at a shell prompt:\n\n```shell\n$ gem install git_tree\n```\n\n\n## Additional Information\n\nMore information is available on\n[Mike Slinn\u0026rsquo;s website](https://www.mslinn.com/git/1100-git-tree.html)\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies.\n\nYou can run `bin/console` for an interactive prompt that will allow you to experiment.\n\n```shell\n$ bin/console\nirb(main):001:0\u003e GitUpdate.command_update '/var/www'\n```\n\n\n### Build and Install Locally\n\nTo build and install this gem onto your local machine, run:\n\n```shell\n$ bundle exec rake install\n```\n\nExamine the newly built gem:\n\n```shell\n$ gem info git_update\n\n*** LOCAL GEMS ***\ngit_update (0.1.0)\n    Author: Mike Slinn\n    Homepage:\n    https://github.com/mslinn/git_update\n    License: MIT\n    Installed at: /home/mslinn/.gems\n```\n\n\n### Build and Push to RubyGems\n\nTo release a new version:\n\n  1. Update the version number in `version.rb`.\n\n  2. Commit all changes to git; if you don't the next step might fail with an\n     unexplainable error message.\n\n  3. Run the following:\n\n     ```shell\n     $ bundle exec rake release\n     ```\n\n     The above creates a git tag for the version, commits the created tag,\n     and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).\n\n\n## Contributing\n\n1. Fork the project\n2. Create a descriptively named feature branch\n3. Add your feature\n4. Submit a pull request\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fgit_update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fgit_update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fgit_update/lists"}