{"id":15470426,"url":"https://github.com/cabbagedevelopment/gitprof","last_synced_at":"2025-07-20T19:34:51.045Z","repository":{"id":57434764,"uuid":"246008930","full_name":"CabbageDevelopment/gitprof","owner":"CabbageDevelopment","description":"CLI tool which simplifies working with multiple Git accounts/services.","archived":false,"fork":false,"pushed_at":"2022-12-26T21:35:43.000Z","size":35,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T02:03:15.014Z","etag":null,"topics":["cli","cross-platform"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CabbageDevelopment.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-09T10:43:18.000Z","updated_at":"2021-04-18T09:27:00.000Z","dependencies_parsed_at":"2023-01-31T02:01:05.010Z","dependency_job_id":null,"html_url":"https://github.com/CabbageDevelopment/gitprof","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/CabbageDevelopment/gitprof","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CabbageDevelopment%2Fgitprof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CabbageDevelopment%2Fgitprof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CabbageDevelopment%2Fgitprof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CabbageDevelopment%2Fgitprof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CabbageDevelopment","download_url":"https://codeload.github.com/CabbageDevelopment/gitprof/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CabbageDevelopment%2Fgitprof/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266187706,"owners_count":23890012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cross-platform"],"created_at":"2024-10-02T02:04:38.446Z","updated_at":"2025-07-20T19:34:51.024Z","avatar_url":"https://github.com/CabbageDevelopment.png","language":"Python","readme":"# GitProf\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![PyPI](https://img.shields.io/pypi/v/gitprof?color=brightgreen)](https://pypi.org/project/gitprof)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gitprof?color=blue)](https://pypi.org/project/gitprof)\n\n## Introduction\n\nGitProf (\"Git Profiles\") is a tool which simplifies working with multiple Git accounts/services.\n\nGitProf helps you with:\n\n- Using different Git services (e.g. GitHub and GitLab).\n- Using multiple accounts on GitHub (e.g. personal and work accounts).\n\nIt solves the problems which you may experience when using multiple accounts/services:\n\n- You can't clone a repository easily because your default SSH key is for a different account.\n- Once you clone the repository, local Git config values such as `user.email` need to be set correctly.\n\nGitProf doesn't change your Git workflow; after using `gitprof clone` or `gitprof profile apply` on a repository, you don't need to interact with `gitprof` again for that repository. \n\n## Installation\n\nRequirements:\n\n- Python 3.7 or higher, with the `pip` package manager (which is usually installed by default).\n- Windows, Linux or macOS.\n\nWhen installed with `pip`, the `gitprof` executable is automatically added to the `PATH` and behaves as a standalone program.\n\nTo install GitProf with `pip`, run the command:\n\n```bash\npip install gitprof\n```\n\nNow you can run `gitprof version` to check that it is installed and available on the `PATH`.\n\n## Quick Start\n\nGitProf stores *profiles* which contain the information required to configure repositories for different accounts. When you run a command which uses a profile, you will be prompted to choose an existing profile or create a new one.\n\n### Cloning a new repository\n\nTo clone a repository, just use `gitprof clone` instead of `git clone`. For example:\n\n```bash\n\u003e\u003e gitprof clone git@gitlab.com/some-profile/some-repo.git\n\n### Choose a profile to clone with ###\n[0] github                         (GitHub)\n[2] gitlab                         (GitLab)\n[3] \u003cCREATE NEW PROFILE\u003e\nEnter a number from the list to choose an option [default=0]: 1\n\nCloning 'git@gitlab.com/some-profile/some-repo.git' with profile: gitlab\n\nSetting local Git config values for 'some-repo'...\nSetting your Git name to 'MyUsername'...\nSetting your Git email to 'MyGitEmail'...\nSetting your Git SSH command to 'ssh -i ~/.ssh/my_ssh_key'...\nFinished setting up your Git repository.\n```\n\n### Applying a profile to an existing repository\n\nIf you have an existing repository whose config values you wish to change, you can `cd` into the repository and use `gitprof profile apply`. For example:\n\n```bash\n\u003e\u003e cd some-repo\n\u003e\u003e gitprof profile apply\n\n### Choose a profile to apply ###\n[0] github                         (GitHub)\n[2] gitlab                         (GitLab)\n[3] \u003cCREATE NEW PROFILE\u003e\nEnter a number from the list to choose an option [default=0]: 1\n\nSetting local Git config values for 'some-repo'...\nSetting your Git name to 'MyUsername'...\nSetting your Git email to 'MyGitEmail'...\nSetting your Git SSH command to 'ssh -i ~/.ssh/my_ssh_key'...\n```\n\n\u003e **Tip**: GitProf includes help info, even for subcommands. For example, you can use `gitprof profile --help` to see parameters for the `profile` subcommand.\n\n## Developer Notes\n\n### Packaging the project\n\n```bash\nrm -r dist/\npython -m pip install -r requirements-dev.txt -r requirements.txt\npython setup.py sdist\npython setup.py bdist_wheel\ntwine upload dist/*\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcabbagedevelopment%2Fgitprof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcabbagedevelopment%2Fgitprof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcabbagedevelopment%2Fgitprof/lists"}