GithubHelp home page GithubHelp logo

dvinciguerra / perry Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 8 KB

Perry is a simple Pair Programming CLI tool for distributed teams

License: MIT License

Shell 100.00%
pair-programming pair shellscript cli devtool

perry's Introduction

perry

image

Perry is a simple Pair Programming CLI tool for distributed teams

Installing

$ git clone [email protected]:dvinciguerra/perry.git ~/.perry
$ mkdir -p ~/.local/bin
$ ln -s ~/.local/bin/perry ~/.perry/perry

Getting Started

1. starting a pair programming session

Run command perry start at project git repository

perry  main [!] λ ➜ perry start
Created autostash: 1e69ce5
Applied autostash.
[pair-7e66407a-5064-400f-9341-72019dcea5da d2bfce6] --wip-- [skip ci]
 1 file changed, 1 insertion(+)
remote:
remote: Create a pull request for 'pair-7e66407a-5064-400f-9341-72019dcea5da' on GitHub by visiting:
remote:      https://github.com/dvinciguerra/perry/pull/new/pair-7e66407a-5064-400f-9341-72019dcea5da
remote:
Unstaged changes after reset:
M       README.md
[2022-03-25T11:59:49-0300] INFO : Pair session WIP synced at branch pair-7e66407a-5064-400f-9341-72019dcea5da

2. saving WIP to pass pair control

Now we can save the current changes to pass the control to our pair

perry  pair-7e66407a-5064-400f-9341-72019dcea5da [!] 9s λ ➜ perry save
Created autostash: fe10ca4
Applied autostash.
[pair-7e66407a-5064-400f-9341-72019dcea5da 2a9101d] --wip-- [skip ci]
 1 file changed, 1 insertion(+)
Unstaged changes after reset:
M       README.md
[2022-03-25T12:00:58-0300] INFO : Pair session WIP synced at branch pair-7e66407a-5064-400f-9341-72019dcea5da

3. sync branch anytime to have changes in our local machine

Let's update out local copy of this branch

perry  pair-7e66407a-5064-400f-9341-72019dcea5da [!] 6s λ ➜ perry sync
[2022-03-25T12:03:19-0300] INFO : Local changes saved at 'pair-session-local-7e66407a-5064-400f-9341-72019dcea5da' stash
Fast-forwarded pair-7e66407a-5064-400f-9341-72019dcea5da to 2a9101d70e48ab94978008c15a8ec9b984dbe15a.
Unstaged changes after reset:
M       README.md

4. to finish our pair process we can cleanup our WIP

Be careful, this will remove local and remote branch with all changes!!!

perry  pair-7e66407a-5064-400f-9341-72019dcea5da [$!] 6s λ ➜ perry finish
M       README.md
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
Deleted branch pair-7e66407a-5064-400f-9341-72019dcea5da (was ac50b80).
To github.com:dvinciguerra/perry.git
 - [deleted]         pair-7e66407a-5064-400f-9341-72019dcea5da
[2022-03-25T12:06:48-0300] INFO : Pair session 7e66407a-5064-400f-9341-72019dcea5da are finished. Good work!

Author

Daniel Vinciguerra [email protected]

perry's People

Contributors

dvinciguerra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

perry's Issues

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.