Skip to content

Ciebiada/git-pair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git-pair

If you pair program and use git, you may find this useful.

why

When pairing and switching often, editing ~/.gitconfig is tedious. Not to say about managing ssh keys (to identify the pusher). This little script handles those two issues for you.

how

Install

$ curl -sL https://raw.githubusercontent.com/Ciebiada/git-pair/master/install | bash

Add users

$ git pair add Michal "Michal Ciebiada" [email protected] ~/Downloads/id_rsa
$ git pair add Tyler "Tyler Durden" [email protected] ~/Downloads/id_rsa2

Pair

$ git pair set michal tyler

Not pairing anymore? Easy

$ git pair set michal

Profit!

Git will be using public key of the first person. However, keys are optional. If you don't provide them, git-pair won't mess with them.

About

Little script to help with pair programming with git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages