Giter VIP home page Giter VIP logo

manage-git-profiles's Introduction

Git Profile Manager

This Python script allows users to manage their Git profiles easily. It enables the addition and deletion of both global and local Git profiles. The script is designed to work on systems with Python installed and is intended for users who work with multiple Git configurations.

Features

  • Add Git Profiles: Add new global or local Git profiles.
  • Delete Git Profiles: Remove existing global or local Git profiles.
  • List Git Profiles: Display all global and local Git profiles in a specified directory.

Prerequisites

  • Python 3.x
  • Git

Installation

  1. Clone the repository or download the script to your local machine.

  2. Run the script using Python.

    python manage_git_profiles.py

Usage

When you run the script, it will provide the following options:

  • Add a new profile: Add a new global or local Git profile by specifying a username and email. For local profiles, you will also need to specify the path of the local repository.
  • Delete an existing profile: Choose to delete either a global or local profile. For local profiles, the script will show the associated repository.
  • Exit: Exit the script.

Adding a New Profile

  1. Choose add when prompted.
  2. Enter the username and email for the new profile.
  3. Specify whether the profile is global or local. If local, enter the path to the local repository.

Deleting a Profile

  1. Choose delete when prompted.
  2. Select global or local.
  3. Choose the profile to delete from the listed profiles.

manage-git-profiles's People

Contributors

shrikantballal avatar

Watchers

 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.