GithubHelp home page GithubHelp logo

aaronpederson / git-ready Goto Github PK

View Code? Open in Web Editor NEW

This project forked from colstrom/git-ready

0.0 1.0 0.0 37 KB

git-ready gets you ready to work with an established team that already uses GitHub.

License: MIT License

Ruby 100.00%

git-ready's Introduction

git-ready

git-ready is a tool for quickly joining an organization on GitHub.

Description

git-ready does three things.

  1. Forks all repositories of the organization to your account.
  2. Clones the forked repositories locally.
  3. Configures an upstream remote for each repository, for convenient fetching.

It can be run again without concern. It will only fork and clone missing repositories.

Why would you want this?

For a team that uses a Fork + Pull Request workflow, and has a large number of repositories, git-ready is a simple way to onboard new team members.

Example Workflow

  1. Fork repository.
  2. Make changes.
  3. Test changes.
  4. Push changes to origin
  5. Submit Pull Request to upstream
  6. Code Review
  7. Merge

Installation

gem install git-ready

Usage

git-ready <organization>

Configuration

git-ready will search for configuration files in the following places:

  • /etc/git-ready.yaml
  • /usr/local/etc/git-ready.yaml
  • ~/.config/git-ready.yaml
  • ./git-ready.yaml

These will be loaded in order, and any conflicting keys will be overwritten.

If no configuration is found, git-ready will enter Interactive Setup Mode, and attempt to guide you through setup. It will prompt for your GitHub username and password, so it can issue itself an auth token (with repo scope only) for future use. This will be written to the configuration file.

If your GitHub account uses 2-Factor Authentication, git-ready will prompt you for a 2FA token.

If you would prefer to set up an auth token manually, that is supported too.

OSX Installation Issues?

One of the gems used by git-ready (Rugged), requires cmake and libgit2 to build. On OSX, this isn't installed by default, but can easily be resolved with brew install cmake, brew install libgit2 --with-libssh2 .

Also, private key has to be registered in keychain in order to repo cloning works.

License

MIT

Contributors

git-ready's People

Contributors

aaronpederson avatar colstrom avatar gotofbi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.