Skip to main content
Known Participant
December 7, 2022
Question

Trouble associating git repository with this site

  • December 7, 2022
  • 2 replies
  • 908 views

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.

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    December 7, 2022

    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
    Known Participant
    December 8, 2022

    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/" 

     

    Nancy OShea
    Community Expert
    Community Expert
    December 8, 2022

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

    Maybe @BenPleysier has some ideas.

     

    Nancy O'Shea— Product User & Community Expert
    Known Participant
    December 7, 2022

    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/"