• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Trouble associating git repository with this site

Participant ,
Dec 06, 2022 Dec 06, 2022

Copy link to clipboard

Copied

Hi,

 

I'm pretty new with Git and don't understand it well. I got git installed (Windows). Then I went to Edit > Preferences and associated Git with DW. I restarted DW.

 

I already had XAMPP installed and had made folders in htdocs for each of the 4 sites I intended to clone from the main repositories on Bitbucket. For the next step I thought I'd be able to edit each of my sites in Manage Sites, check the Associate a Git Repository with this Site check box and then clone them. However, when I go to edit site, the Associate a Git Repository with this Site check box on 3 of the 4 sites is greyed out. Any idea what I might have done wrong? Since I'm new to this, I could have made errors at any of the steps above. 

 

Thanks for your help.

Views

634

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 06, 2022 Dec 06, 2022

Copy link to clipboard

Copied

I forgot to add, I also can't open the git terminal from within Dreamweaver.

(later:)

I changed the Path to Terminal in Edit > Preferences to:

 

C:\Program Files\Git\git-bash.exe

 

That allowed me to open the terminal. However, when I closed the terminal, I got the error below - what's causing this?

 

Error: Error: ^C: C:\Program Files\Git\git-bash.exe --cd="C:/xampp/htdocs/__psybooks/"

  

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2022 Dec 07, 2022

Copy link to clipboard

Copied

This is the documentation I have for using GIT with Dreamweaver.

https://helpx.adobe.com/dreamweaver/using/git-support.html

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 07, 2022 Dec 07, 2022

Copy link to clipboard

Copied

Thanks, Nancy. That's what I read that helped a lot. I got some of the issues above resolved. But one that remains is that when I open the terminal and then close it, I still get the error below. I'd love it if someone could help with this:

 

Error: Error: ^C: C:\Program Files\Git\git-bash.exe --cd="C:/xampp/htdocs/__psybooks/" 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2022 Dec 08, 2022

Copy link to clipboard

Copied

Looks like Git-bash can't change directories to an Xampp folder. 

Maybe @BenPleysier has some ideas.

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2022 Dec 08, 2022

Copy link to clipboard

Copied

It's been years since I last used Dreamweaver. But this video will be able to help.

https://youtu.be/1S0HnW-unD8

 

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 09, 2022 Dec 09, 2022

Copy link to clipboard

Copied

LATEST

Thanks all. I was working in Dreamweaver/Git just fine on my other machine so although I'm not GREAT with it, it's also not new to me. The other machine worked just fine. This new machine is still glitchy. I think several things are wrong, frankly, but maybe hard to track down.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines