Git Product home page Git Product logo

git-multiple's Introduction

Git Multiple

Introduction: MultiGitSwitch is a handy bash script designed for developers who work on a single system but need to manage multiple Git accounts for their projects. Whether you're contributing to personal and work repositories or collaborating on different projects with distinct Git identities, this script simplifies the process of switching between multiple Git configurations seamlessly.

How to Use:

  1. Go to this directory on you machine (its diffrent in each OS).
/usr/local/bin
  1. Clone the repository to your local machine.
git clone https://github.com/spr021/Git-Multiple.git
  1. Go to the directory
cd Git-Multiple
  1. Make the script executable using the chmod command:
sudo chmod +x switch.sh
  1. To create an alias for the script, open your shell configuration file (e.g., ~/.bashrc or ~/.zshrc) in a text editor. Use the following command for bash:
alias switch='/usr/local/bin/Git-Multiple/switch.sh'
  1. Now you can use script every where on your machin and change git account config, just write switch on your terminal

Contributing: Contributions are welcome! If you encounter any issues, have suggestions, or want to improve the script, feel free to submit a pull request or open an issue.

License: This project is licensed under the MIT License - see the LICENSE file for details.

Simplify your Git workflow with Git Multiple and effortlessly manage multiple Git accounts on a single system. Happy coding!

git-multiple's People

Contributors

spr021 avatar marymirzaie 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.