-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Managing git profiles #473
Comments
Isn't that something that should be managed by local git config? |
All of the ways that I have found to use it involve manipulating your ssh config and using fake hostnames github-profile2 for system wide configuration. Which breaks some projects. I'm specifically having issues with go since it pulls most of it's dependencies from github. This script is a wrapper around git config, but I find it useful to be able to switch accounts with a single command on a global level so I don't need to modify my git configs when I need to switch profiles for a different client. |
Plus the ability to have it visible in my prompt so I know which user I'm pulling and committing code with. |
I also don't think the management necessarily belongs in this repo, but displaying it in the prompt could. |
I made a tool for managing different git profiles since I use a couple of different github accounts. Is this something that I could create to create a PR for?
https://github.com/fenfir/git_profile
The text was updated successfully, but these errors were encountered: