-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access 2nd repository on Gitlab and unable to Update from Master on main repository #18662
Comments
Hello 👋 Please, try the latest beta (3.3.19-beta2) from https://desktop.github.com/beta which includes support for multiple git credentials on the same host based on different repository paths and let us know if it works. After updating, you might need to re-enter your credentials for your Azure DevOps repositories. For hosts other than
Thank you for your patience 🙏 |
Hi, Sorry I missed this last week. With the additional git config using useHttpPath on the beta, the logging in between repos appears to be working. The other issue of not updating from master is still there. (I was hoping for some magic :) ) Updated: Thanks. |
👋 we just shipped GitHub Desktop 3.4.2-beta2 to our beta channel. This includes support for using Git Credential Manager. It's currently off by default but you can enable it in Settings under the advanced tab. We believe this will address the authentication problems outlined in this issue. When Git Credential Manager (GCM) is enabled all credentials for third-party (i.e. Azure Devops, BitBucket, GitLab etc) will be handled, and stored, outside of GitHub Desktop. GCM supports browser-sign in to many popular services and will avoid the need to create personal access tokens (PATs). Please download our beta version from https://desktop.github.com/beta/ to give this a go and please report back with your experience. We'll be collecting feedback in our beta channel which will inform when we make this available to all users. Installing the beta version will not clear your preferences or tracked repositories and you can switch to the production version by simply downloading the latest version from https://desktop.github.com. |
The problem
I have 2 potentially related bugs or a 2 single ones.
Our environment: we have 2 projects in a self-hosted gitLab environment where we must provide an access token for each project. Project 1 is our main project/site and it has 5 branches + master/main. Each person works on their own branch. On this project under our own branch we can commit and fetch, but none of us are unable to Update from Master. Nothing pulls down to update the branch and it tells us our repository on our computer is up to date. It is not. If I move to someone else's branch I am able to Fetch but not Update from Master.
Project 2 is our secondary project for documentation and also has 5 branches. We experience the same issue as in bug #18588(#18588) on this branch. I took the advice there and removed the value for genericGitAuth/username/[server] and this forced a new login and I was able to finally commit on that branch. (I will have to wait for others in India to upload overnight to say whether Update from Master is working on this branch.)
I additionally have a third personal repository to GitHub. This however does not appear to be causing any problems.
The issue started on May 16, 2024. I attaching 3 logs: May 15 where almost everything was working, May 16 when everything stopped working and today's May 21.
Release version
3.3.18(x64)
Operating system
Windows10 22H2 Build 19045, 4291
Steps to reproduce the behavior
No response
Log files
2024-05-15.desktop.production.log
2024-05-16.desktop.production.log
2024-05-21.desktop.production.log
Screenshots
Error thrown when trying to commit.
Additional context
No response
The text was updated successfully, but these errors were encountered: