Allow profile (ssh/gpg) selection per repository
Working with multiple tabs/projects and its frequent changes of multiple profiles is a nightmare.
I'd like to have the possibility of assigning profile per repo/project/tab/groups of the project as it's quite easy to push commit using the wrong email/gpg/ssh.
Assigning Profile to a project/group of projects would allow us to be more independent from the terminal.
Comments: 7
-
09 Aug, '21
Jonathan AdminHello Marcin 👋 It should be possible to create multiple profiles that could then correspond to a unique set of SSH or GPG settings. Can you tell us more about the issues you're having switching profiles?
-
10 Aug, '21
Marcin BojkoI work with multiple 'profiles' - some company's repos, few open-source, and I am still failing to remember to set a proper profile. I have more than 100 repos, and 5 different profiles.
What I'd like to achieve is:
- not to remember about switching proper profile to a proper repo (every time I am changing repo, I have consider 'is it proper profile?'. Is it a proper gpg key? Will my commit be unverified?
I'd like to get rid of remembering - which repo is with which profile. -
12 Aug, '21
James BradshawAs a GitKraken convert this is one feature I miss from SourceTree. I would love to be able to assign a profile to a repository so my commits are using the correct author info and remove the need to do it manually. I've had a few mistakes and its getting annoying.
-
12 Nov, '21
Yas WadugeThis is the only missing feature of GitKraken for me so far. Love everything else
-
23 Dec, '21
Jonathan DickinsonI too want to use GK for work and OSS, although I don't have as many as 100 repos :). A few possibilities that came to mind:
1. 1-to-1. Associate a repo with a profile, when you switch to a repo the profile changes automatically. Git can do this natively (by avoiding the --global flag with git config).
2. 1-to-many. Group repos under profiles. When you switch profiles, you get a different set of repos.
3. Overrides. Add Name, Email, SSH key, and GPG key to the repo-specific preferences. -
29 Jan
ErnestA must have feature for me. The whole reason to have more than one profile is to apply different profiles to different repos.
We are all humans and I'm scared as hack to forget to switch profile on every commit. -
09 Feb
ErnestAccidentally found related feature that repository list is changing depending on selected profile.
So I removed all unrelated repositories from list on each profile and this way protected myself from accidental commit with wrong profile.
Only thing I wish to improve is to reduce amount of clicks to switch profile. Currently it is 3 clicks, but can be easily reduced to 2 clicks if profiles will be in list rather than in dropdown.