Giter VIP home page Giter VIP logo

git-pr's Introduction

build status

git-pr

Pull requests without Git{Hub,Lab,Whatever}

License โ˜ Roadmap โ˜ Download

Git does not support pull requests by default, but it could! By following a few simple conventions, any shared repository can support pull requests without additional tooling required from the host. git-pr is tooling to implement those conventions, making it easy to create, approve, or destroy pull requests -- all from the command line:

$ git pr-create hotfix # Create a new branch for an emergency hotfix
Switched to a new branch 'hotfix/0'
...
 * [new branch]      hotfix/0 -> hotfix/0
Branch 'hotfix/0' set up to track remote branch 'hotfix/0' from 'origin'.
$ # (code code code...)
$ git push # Submit for review... it's just a branch!

Meanwhile, your collaborators can check for the latest updates, review your changes, and even merge them:

$ git pr-list # Check the server for new PRs
...
 * [new branch]      hotfix/0 -> hotfix/0
hotfix
remove-hardcoded-passwords
use-git-pr-tool
$ # (review review review...)
$ git pr-accept hotfix # LGTM!

Given this minimalist approach, the means of communication is up to you. We don't try to force you into some mechanism that just ends up emailing you anyway. ๐Ÿ˜

git-pr's People

Contributors

robertdfrench 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.