Git and 1Password interaction doesn't work with "git clone" on a regular terminal
When I'm in a git directory, cloned from GitHub, and I use a git command all seems to work well:
- I insert a command (e.g. git fetch);
- "System" ask for my fingerprint;
- I insert my fingerprint ad all work wonderfully.
Now, once I have put for the first time my fingerprint, every time I insert a new git command all work without asking me for the fingerprint.
Now strange things happen:
-If I carry out all the steps described above on a standard terminal (for example gnome-terminal, or kgx), when I use the "git clone" command, perhaps to copy another of my private repositories, I will be asked for Username and Password Github.
-If, on the other hand, all the steps described above are performed on a terminal provided by "VisualStudio Code" then the "git clone" command, executed on the "VS Code" terminal, will work perfectly like any other command (git fetch, git pull,.. .) without asking me for a username and password.
Why this difference in behaviors?
Why does a "regular" terminal fail to hook up to 1password when I use "git clone"?
P.S.
If the "git clone" command specifies "mailto:git@github.com:XXX" instead of "https://github.com/XXX" then you will be able to "connect" with 1password and everything will work correctly.
1Password Version: 8.9.10
Extension Version: Not Provided
OS Version: Fedora 37
Browser:_ Not Provided
Referrer: forum-search:https://1password.community/search?Search=Git%20and%201Password
