Highlighted

Dreamweaver and Github branches

Explorer ,
Jun 20, 2019

Copy link to clipboard

Copied

Hello,

New to Github and trying to use dreamweaver to connect with

I have already cloned a repository, i can push and pull, not really a big deal.

However, when i created a branch just now on the Github website (named "Style-optimizations") things got a bit more complicated for me.

I manage to pull the files from this branch, but i am starting to wonder what exactly the "branch" dropdown on the git-panel does?? (please find dropdown with "optimization" in image below)

The newly created branch did not appear there, i manually created one in dreamweaver named "optimization" with "manage branches" dialog.

Now in my Git-panel i have "Master" and "optimization" but selecting these does nothing to my local folders in my case.

Is this normal behavior or am i missing something?

Thanks for your feedback and thoughts.

Hi,

Git clone only creates the master branch locally, but you can access any of the branches with "git checkout" command from terminal .

Attached is my example (run on macOS and bash terminal) . I created a branch called "develop" in my test project on GitHub Website, then created a DW site with cloning the repository on my PC.

Fig.1 Left shows only master branch is visible on DW (initial state). But you can see other branches hiding in the local repository by using "git branch -a" (Fig.1 Right).

If you want to work on "develop" branch, you need to run "git checkout" for that branch. (Fig.2 Right). When this is done, "develop" branch name shows up on the dropdown menu in DW.

git-branch-step.png

Views

321

Likes

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

Dreamweaver and Github branches

Explorer ,
Jun 20, 2019

Copy link to clipboard

Copied

Hello,

New to Github and trying to use dreamweaver to connect with

I have already cloned a repository, i can push and pull, not really a big deal.

However, when i created a branch just now on the Github website (named "Style-optimizations") things got a bit more complicated for me.

I manage to pull the files from this branch, but i am starting to wonder what exactly the "branch" dropdown on the git-panel does?? (please find dropdown with "optimization" in image below)

The newly created branch did not appear there, i manually created one in dreamweaver named "optimization" with "manage branches" dialog.

Now in my Git-panel i have "Master" and "optimization" but selecting these does nothing to my local folders in my case.

Is this normal behavior or am i missing something?

Thanks for your feedback and thoughts.

Hi,

Git clone only creates the master branch locally, but you can access any of the branches with "git checkout" command from terminal .

Attached is my example (run on macOS and bash terminal) . I created a branch called "develop" in my test project on GitHub Website, then created a DW site with cloning the repository on my PC.

Fig.1 Left shows only master branch is visible on DW (initial state). But you can see other branches hiding in the local repository by using "git branch -a" (Fig.1 Right).

If you want to work on "develop" branch, you need to run "git checkout" for that branch. (Fig.2 Right). When this is done, "develop" branch name shows up on the dropdown menu in DW.

git-branch-step.png

Views

322

Likes

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
Jun 20, 2019 0
Adobe Employee ,
Jun 20, 2019

Copy link to clipboard

Copied

Hi there,

Thank you for reaching out. From my reading of your post. it looks you are trying to understand the use of branches in GIT for collaboration.

In Dreamweaver, when developers and designers work together for a site, each user can create a branch off the master and make changes independently. Whenever required, they can easily merge their changes with another branch and continue to work with both the branches. For more info please check out this article Learn how to download and use Git with Dreamweaver.

Please let us know if that helps. We'd be happy to help.

Thanks,

Harshika

Likes

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
Reply
Loading...
Jun 20, 2019 1
Explorer ,
Jun 21, 2019

Copy link to clipboard

Copied

Hello Tarshika,

Thank you for your reply. I understand the basic concept of branching from reading that page earlier. What I don't understand is there does not seem to be a coupling between the branches made in Github website and those made in GIT-panel for Dreamweaver? Is this assumption correct? I expected it to be coupled.

I can't seem to find a way to load my Github-website created branch into Dreamweaver. Am I supposed to pull the entire project anew? Am I supposed to ONLY work from Dreamweaver to not have this issue?

Edit: I just cloned the entire repository anew. It only loaded the master branch. The created branch does not appear in the branches dropdown in Dreamweaver nor did I find a way to include it. Either i'm missing something, or the support page doesn't really cover this extensively.

Likes

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
Reply
Loading...
Jun 21, 2019 0
New Here ,
Jun 22, 2019

Copy link to clipboard

Copied

Hi,

Git clone only creates the master branch locally, but you can access any of the branches with "git checkout" command from terminal .

Attached is my example (run on macOS and bash terminal) . I created a branch called "develop" in my test project on GitHub Website, then created a DW site with cloning the repository on my PC.

Fig.1 Left shows only master branch is visible on DW (initial state). But you can see other branches hiding in the local repository by using "git branch -a" (Fig.1 Right).

If you want to work on "develop" branch, you need to run "git checkout" for that branch. (Fig.2 Right). When this is done, "develop" branch name shows up on the dropdown menu in DW.

git-branch-step.png

Likes

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
Reply
Loading...
Jun 22, 2019 1
Explorer ,
Jun 24, 2019

Copy link to clipboard

Copied

Thank you KazuH for your insights and to-the-point help.

I just added the GITHUB-created branch to my local project in dreamweaver. SUCCESS!

@Adobe

  • This wasn't covered in the help files. I suspected this pretty basic action to be on the panel, or automated. The help files are too brief for trying to explain such a workflow.
  • I lost valuable time figuring this out, ultimately having to reach out to the community, having one of your paying customers do your job for you.
  • For me, the Git cheat sheet referenced in the help files is not opening.

Likes

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
Reply
Loading...
Jun 24, 2019 1
Adobe Employee ,
Jun 25, 2019

Copy link to clipboard

Copied

Hi there,

I understand that could be annoying. Thank you for highlighting, that the link is not working for GIT Cheat Sheet. I will make sure that the feedback is forwarded to the team for improvements in the future.

Thanks,

Harshika

Likes

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
Reply
Loading...
Jun 25, 2019 0