![]() ![]() That may or may not be helpful, but I hope you can find a solution. eval ssh-agent ssh-add However, when I try to git pull in SourceTree, I get this. ![]() I could git pull and do other operations from Git-bash. 100 Answered by BradThompsonEDCC on It turned out that I had old session state: Open Control Panel from the Start menu Select User Accounts Select Manage your credentials in the left hand menu Delete any credentials related to Git or GitHub Once I did this, it started working again. Is it just a private repo you're wanting to access, or a private organization repo? If the latter, from that first link I think an organization owner has to grant access for the app (so I guess even if you have access as a GitHub user, you don't automatically get access when using the app). 70 I Generated ssh keys and configured my git and SourceTree. Check Remote Origin If the remote origin has been changed or an incorrect value has been added, that can also cause this error. You may well have already looked here, but I found this on an initial google: However, I'd be surprised if it's not possible to access private repos at all this way. So it could well be that the solution for that is different. So the commonality of my problem with the original question here was "organization repos not appearing" rather than the private/public dimension of the question. But certainly the repos I was concerned with were public ones, just that they belonged to an organization. ![]() I'm afraid it's a while since I did this, so I forget the details. [This Medium article described the same problem and solution, except that they suggest deleting and re-creating the OAuth token, whereas I was able to just edit the settings on mine: not sure if is the same/similar problem to above, but I came across this question when searching for a solution, so thought it good to add my solution here after I worked out what my issue was.) To fix, go to your GitHub settings -> Applications -> Authorized OAuth Apps -> Sourcetree ('SourcetreeForWindows' in my case): you can see the list of permissions granted, and underneath that Organization access, and the option to turn it on. If not, request authorization by from the organization admin and. Click on SourcetreeForWindows and verify if the organization allows it. Go to -> Your account -> Settings -> Applications and select Authorized OAuth Apps tab. Check if that organization allows SourceTree application. I discovered it was an issue with the default permissions in the OAuth settings by default, it doesn't give organization access. Usually when you are just added to new organization. I tried starring the relevant one, but that didn't make a difference. 34 I was able to login up until today when it just stopped working. I had a similar problem after adding my GitHub account to SourceTree, repos belonging to my organization weren't appearing in the 'Remote repositories' list. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |