Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luhc228/git-user-config-manager-extension
A VS Code extension to help you manage git user configs easier.
https://github.com/luhc228/git-user-config-manager-extension
Last synced: about 2 months ago
JSON representation
A VS Code extension to help you manage git user configs easier.
- Host: GitHub
- URL: https://github.com/luhc228/git-user-config-manager-extension
- Owner: luhc228
- License: mit
- Created: 2023-06-29T13:59:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-25T01:04:12.000Z (over 1 year ago)
- Last Synced: 2024-10-11T14:10:40.932Z (3 months ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=luhc228.git-user-config-manager
- Size: 391 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Git User Config Manager
Do you ever have one more git user configs( for example one is for open source(GitHub) and another is for Work(GitLab))? And you use different username and email for your commits at work or for your open source repositories by mistake?
Git User Config Manager extension helps you manage and switch your git user configs easier and smarter. What's more, it also support [SSH Key generation](https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key) and configure [gitdir config](https://git-scm.com/docs/git-config#_conditional_includes).
![first-hint](https://github.com/luhc228/git-user-config-manager-extension/assets/44047106/6a856c35-1d58-4ebc-9d6b-422e8bbc748b)
### Features
- Check if your project has git user configs set up automatically
- Support Add, edit or delete your git user configs easier and switch one of them in VS Code faster
- Generate [SSH Key](https://git-scm.com/book/en/v2/Git-on-the-Server-Generating-Your-SSH-Public-Key) by your git user configs faster
- Add [gitdir config](https://git-scm.com/docs/git-config#_conditional_includes) to include some directories which will use one of your git user configs### Usages
#### Add a Git User Config
![add](https://github.com/luhc228/git-user-config-manager-extension/assets/44047106/04e60ae6-3c29-4cfb-8bd4-3878b4247dbf)
#### Edit a Git User Config
![edit](https://github.com/luhc228/git-user-config-manager-extension/assets/44047106/501b9cce-80a7-44af-b329-fa5942804b72)
#### Apply a Git User Config to Current Workspace
![apply](https://github.com/luhc228/git-user-config-manager-extension/assets/44047106/cadc688c-d54b-4a58-9cde-040dd80300f8)
#### Delete a Git User Config
![remove](https://github.com/luhc228/git-user-config-manager-extension/assets/44047106/9fcd65d2-89ab-4c05-a416-0cc5c3f2ae44)
#### Generate SSH Key
![generate-SSH](https://github.com/luhc228/git-user-config-manager-extension/assets/44047106/ab3aed74-295f-49c9-b74f-419f5d431971)
#### Add gitdir config
All of your git project in your the directories of you configure gitdir config will use one of your git user configs. It means that you don't need to configure the git user config everytime.
Note: If your git project is in your git dir, it will not check if your project has git user configs set up or show the warning message.
![gitdir](https://github.com/luhc228/git-user-config-manager-extension/assets/44047106/96d224be-646f-4d5f-a406-a5ae79e41aeb)