I am using my ssh key with a passphrase and I typed that into the sourcetree agent prompt that shows when it starts up (BTW that's kind of error prone, sourcetree at startup seems to spawn a command line window to load the agent which sometimes isn't visible (might be under windows) so the user can go off and try to use sourcetree with the agent not loaded with the Passphrase. I would have thought that a fetch or pull would exercise the authentication with gitlab in much the same way as a clone. What's so odd is that I cloned from the exact same gitlab with the portablegit via command line, then I imported that directory tree into sourcetree as a "local repo" and sourcetree then seems to successfully do pulls and fetches (It says "pull successful") but if I try to use sourcetree directly to clone I get the 403 type error above. Where I've made the exact URL anonymous just for posting. When I try to a clone from the Remotes in sourcetree I always get this kind of errorĬommand: git -c diff.mnemonicprefix=false -c core.quotepath=false -no-optional-locks ls-remote Output:Įrror: remote: Git access over HTTP is not allowedįatal: unable to access ' The requested URL returned error: 403 I do have sourcetree set in the General tab to use openssh Git operations with command line git work fine (using PortableGit 2.30.1) with these same keys (located as usual in \Users\\.ssh ) I have the public key from that pasted into my SSH public value in my gitlab account. I have been added to my company git account, and have the same developer rights as other engineers. after some time getting 'This is not a valid path/url. under remote tab have seen the repository (point 3) with private option. I simply ran "ssh-keygen -t ecdsa -C "my comment"" Products Sourcetree Questions Unable to clone Git repo Unable to clone Git repo Edited chris pavey I cannot clone git repository to my local drive using sourcetree. select the HTTPS option and copied the url. I have my ssh keys as generated by the ssh-keygen that comes with Windows 10 Enterprise. I installed sourcetree portable version 3.4.3 64bit on it. I have Windows 10 Enterprise, I'm on a VPN (shouldn't matter).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |