Coder Social home page Coder Social logo

machawk1 / gitcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bglezseoane/gitcher

1.0 3.0 0.0 2.75 MB

The git profile switcher. It facilitates the switching between git profiles, importing configuration settings such as name, email and user signatures. [mirror]

Home Page: https://gitlab.com/GlezSeoane/gitcher

License: GNU General Public License v3.0

Python 96.17% Roff 3.83%

gitcher's Introduction

gitcher

The git profile switcher. It facilitates the switching between git profiles, importing configuration settings such as name, email and user signatures.

Screen capture

Purpose

It is possible that you have multiple git configurations. E.g.:

  • Work profile
Name: Jane Doe
Email: janedoe@work
GPG Key: AAAA1234
  • Personal profile
Name: Jane Doe
Email: janedoe@home
GPG Key: BBBB5678

It could be a nuisance to switch between profiles while working on different projects. In addition, it is common to forget what profile you are using when you start commit in a new repository, and rewrite your story can be a bigger nuisance.

This tool aims to facilitate the configuration of the profile to be used in each project, an agile exchange between the different profiles and a way to control the profiles that you are using in your machine.

What is a gitcher profile?

A profile is a git configuration data set that includes:

  • Name.
  • Email.
  • GPG Key (optional).
  • GPG autosigning preference (activate it do that every commit will be signed).

It is identified by a subject tittle like "work" or "university" that have to be unique.

Saved data

The ~/.cherfile file contains the saved profiles data.

To set up

You can use PyPI to install this program:

$ python install gitcher

Alternative, clone and go to this repository home directory, and then run:

$ python setup.py install

Both methods install last gitcher stable version on your machine. Now you can run it on your shell using:

$ python -m gitcher

In addiction, you can add next lines to your shell configuration file (.zshrc, ~/.bash_profile) to abbreviation gitcher invocation:

########################
# gitcher abbreviation #
########################
alias gitcher="python -m gitcher"

gitcher's People

Stargazers

Dez avatar

Watchers

James Cloos avatar Mat Kelly avatar  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.