Skip to content

Instantly share code, notes, and snippets.

View sevos's full-sized avatar

Artur Roszczyk sevos

View GitHub Profile
@sevos
sevos / git-pair
Last active August 3, 2022 10:57 — forked from andrzejsliwa/pair
A script to change pairs
#!/usr/bin/env ruby
# encoding: utf-8
Person = Struct.new(:name, :email) do
def activate
`git config user.name '#{name}'`
`git config user.email '#{email}'`
end
end