Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 5

Why is gitHubDesktop letting me push my commits to repos without being signed in? Is this normal?

I'm using gitHubDesktop with Mac OSX Sierra. I noticed today after signing out of my account via the gitHubDesktop preferences menu , I was still able to push commits to my repos. Is this a bug / issue or intended?

 

When signing in using gitHubDesktop's preferences menu, it says "Sign in to your GitHub.com account to access your repositories" so im assuming its not intended.

4 Replies
GitHub Staff
Message 2 of 5

Re: Why is gitHubDesktop letting me push my commits to repos without being signed in? Is this normal

@GandalfGrey123 logging out of GItHub Desktop should prevent you from pushing to your repository unless you are specifically using SSH authentication for your repositories. I just tested this out on my macOS machine to verify I was unable to push after signing out. Would you mind uploading the log file from GitHub Desktop so I could take a closer look?

 

To access the log files go to the file menu in GitHub Desktop and select `Help` > `Show Logs in Finder (macOS) or Explorer (Windows)`. The log files are created daily -- please upload a log file as an attachment from the day where you experienced the issue.

 

 

Copilot Lvl 2
Message 3 of 5

Re: Why is gitHubDesktop letting me push my commits to repos without being signed in? Is this normal

 Thank you for the follow up, Im sorry I did not see this response earlier. 

 

Im not using SSH to sync files with the repository.

Just exclusively using the gitHubdesktop interface only. 

 

I will upload the log file and I will try to upload a photo or example of the issue happening.  

 

Copilot Lvl 2
Message 4 of 5

Re: Why is gitHubDesktop letting me push my commits to repos without being signed in? Is this normal

Screen Shot 2018-12-01 at 9.08.39 AM.png

Screen Shot 2018-12-01 at 9.09.00 AM.png

Screen Shot 2018-12-01 at 9.09.06 AM.png

 

Screen Shot 2018-12-01 at 9.09.09 AM.png

 

 

 

Heres the log file after this push,

looks like something to do with the ,  git -c credential.helper 

 

 

2018-12-01T16:58:38.433Z - info: [ui] [AppStore] loading 6 repositories from store
2018-12-01T16:58:38.749Z - info: [ui] launching: 1.4.1 (Mac OS 10.12.6)
2018-12-01T16:58:38.750Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper.app/Contents/MacOS/GitHub Desktop Helper'
2018-12-01T16:58:54.805Z - error: [ui] Error checking for updates
Error: The operation couldn’t be completed. (OSStatus error -60006.)
2018-12-01T17:00:39.740Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.126s)
2018-12-01T17:00:39.746Z - info: [ui] Background fetch for 6 repositories took 1.289sec
2018-12-01T17:09:11.269Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 5.620s)

 

 

 

GitHub Staff
Message 5 of 5

Re: Why is gitHubDesktop letting me push my commits to repos without being signed in? Is this normal

@GandalfGrey123 thank you for the detailed screenshots, and I apologize for the delay in replying to you. I've attempted to reproduce this but have been unsuccessful thus far. 

 

GitHub Desktop creates an `application password` in macOS's Keychain Access when you log in with your GitHub account. When you log out this entry should be removed. Could you try logging out and then logging back in to see if the entry is removed? This is the specific entry you are looking for:

 

`GitHub - https://api.github.com`

 

Thanks!