Copy link to clipboard
Copied
I'm on a Mac and just upgraded to 2017.5. The local copies of my site are in a GitHub folder which I've been managing with GitHub Desktop.
I was able to make a push through Dreamweaver, but had to enter my username/password on the push screen, which is fine for the first time, but that's going to get really old if it doesn't remember it (which it doesn't appear it does).
When I made a pull, I got this credential-osxkeychain error.
I'm thinking there is something jacked up since I've been using Git on my machine for some time, just not through Dreamweaver.
I have two sites that have the same issue (and they are the only ones I use with Git).
Any thoughts? Thanks for your help!
Hi,
We have fixed this issue for the next Dw release, you can verify it now if you are a Dw Pre-release user or you can verify it later when we make the release public.
Thanks for all your support and feedback.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
When i first tried git in Dw, i found that it was an either/or use, (Dw git config, or my old git config) and ended up renaming my original git config file, so that it would not try and config the original git instalation.
I don't know where it is on a mac, but in windows it is a hidden folder and at -
username/appdata/git
Copy link to clipboard
Copied
Which original git config did you rename? The one for DW or your old git config.
I was hoping maybe someone from Adobe would chime in on this. I can't imagine I'm the only one having this issue.
Copy link to clipboard
Copied
I renamed my original git config, as some setting did interfere with Dw's git working correctly. I did point out, before I left the Dw pre-release the problem I had with the original git config and Dw, but I don't know what happened after I left, or if it was followed up.
Hopefully a Dw team member will reply, as they do try to answer such questions for users, even if it takes them a day or so to do so.
Copy link to clipboard
Copied
Hi,
You can enter your credentials on creating a remote and save them, so that Dw does not ask for it again and again on pull/push operations. Please refer the snapshot below:
Also, the keychain error message that you see, once you have saved your credentials that should disappear. Please tell us if this doesn't still solve the issue.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Hi,
In continuation to the above posted solution, if you already have the remote defined then you can goto Manage Remotes and set the username/password. Please refer snapshots below-
Hope this helps.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Thanks. I had seen that option and had entered it in, but went back and confirmed the username and password entered was correct nonetheless (even though that's not the error).
When I click on the Fetch All icon, I still get this message:
Copy link to clipboard
Copied
Hi,
Can you please tell us which version of Git is installed on your computer? You need Git 1.7.10 or newer to use the osxkeychain credential helper.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Look like I'm using a later one...
Please advise.
Copy link to clipboard
Copied
Hi,
Then we can try updating credentials from the OSX Keychain.
You'll need to update your saved username and password in the git-credential-osxkeychain helper if you change your password or username on GitHub.
Can you try the steps below and check if it solves the issue-
1. Updating your credentials via Keychain access app
In Finder, search for the Keychain Access app.
In Keychain Access, search for git
GitHub Password Entry in KeychainFind the "internet password" entry for github.com.
Edit or delete the entry accordingly.
2. Deleting your credentials via the command line
Through the command line, you can use the credential helper directly to erase the keychain entry.
To do this, type the following command:
git credential-osxkeychain erase
host=github.com
protocol=https
[Press Return]
If it's successful, nothing will print out.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Had tried that, but did it again with no success. Sorry.
Copy link to clipboard
Copied
Can you try using the following command through the terminal then, it should delete osxkeychain from the config file.-
git config --global --edit
Copy link to clipboard
Copied
That allowed me to edit the config and I removed the line after the credential. Now a slightly new error:
I am able to do the fetch --all via command line and it works.
git fetch --all
Fetching gittest
The first time I did it, it asked me if I wanted to give it access to the keychain, which I did, but same (above) error in Dreamweaver.
Copy link to clipboard
Copied
Which terminal are you using? The normal one or the Git terminal from Dw?
Can you goto Edit->Preferences->Git and check the location of Git you are using? In my computer the following locations have osxkeychain and I doubt one of them is creating this issue-
1. /usr/local/bin
2. /usr/local/git/bin -(this is the one my Dw uses- see screenshot)
If somehow we can copy the osxkeychain from the Dw's git to the other one- I think that should work. Can you please try?
Copy link to clipboard
Copied
Normal terminal. I wasn't aware of one in Dreamweaver, actually.
My Dreamweaver is set up the same way.
It actually looks like it's symlink'd to the same location.
What I keep going back to is the actual error about credential-osxkeychain not being a git command...
Copy link to clipboard
Copied
Hi,
Can you try "pull and push operations" and see if this message is shown in that case also? Or this is happening only for "Fetch"?
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Seems to be just the Fetch. The others appear to work as they should.
Copy link to clipboard
Copied
And, as one more piece of info, for the other two, there is a place to override the credentials. For Fetch, there is not.
Copy link to clipboard
Copied
Hi,
Thank you so much for all your valuable inputs, you have been really co-operative in getting us to the issue. Really appreciate it.
I have raised the issue with the team and we will pick this up soon for a fix.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Is there an update to this? Please advise.
Copy link to clipboard
Copied
Hi,
We will be fixing this issue, and it will be available for use in the next release of Dw.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Hi,
We have fixed this issue for the next Dw release, you can verify it now if you are a Dw Pre-release user or you can verify it later when we make the release public.
Thanks for all your support and feedback.
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Hello. I'm experiencing a very similar issue when fetching. Has the release including the fix been released? Can't find any documentation about it online?
Copy link to clipboard
Copied
Hi,
This issue has been fixed as per the new MAX release- Dw CC 2018. Do let us know if you still see any issues?
Regards,
Niharika Gupta
Adobe Dreamweaver
Copy link to clipboard
Copied
Thanks Niharika,
I'm having a bad time trying to push a tiny site to Github.com. To see what is next I joined the DW Pre-release group, but couldn't fine a way to successfully connect it. Do you have any links to share?
Bill McEntee