最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Azure data factory git mode is empty at my branch while the git repository has code - Stack Overflow

programmeradmin1浏览0评论

So, as a title says. I had a git 'feature' branch that I worked on some while ago, and placed on hold. So, not merging into collaboration branches. Now, I come back to it, and while git (Azure dev ops) has all the code and resource, the ADF when in the git mode shows nothing under that branch.

1.) I can't "disconnect" and reconnect the git repo, as there are many other branches, and
I got in trouble with it before, when doing it. 2.) I can't "Import" from live environment, as it is much ahead from the branch I am in.

Seeking some help.

So, as a title says. I had a git 'feature' branch that I worked on some while ago, and placed on hold. So, not merging into collaboration branches. Now, I come back to it, and while git (Azure dev ops) has all the code and resource, the ADF when in the git mode shows nothing under that branch.

1.) I can't "disconnect" and reconnect the git repo, as there are many other branches, and
I got in trouble with it before, when doing it. 2.) I can't "Import" from live environment, as it is much ahead from the branch I am in.

Seeking some help.

Share Improve this question edited Feb 4 at 6:04 NoXMan 1312 bronze badges asked Jan 31 at 15:51 Dmitriy RyabinDmitriy Ryabin 4707 silver badges37 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

OK, I figured out the reason for this problem on my own, and want to share it. Maybe somebody can use it. In Git configuration in the ADF, there is a selection of "root folder"

What happened is, that initially, I configured it with that "Root folder" saying "\adf-code" for better anization. Later, I was doing "Disconnect" from Git repository, and connecting again. So, when I did that, the second time, I left the "Root Folder" saying "\". This caused some branches to look "empty" in ADF. To make things worse, I clicked on "Import from live mode" at one point, and it messed up some of my work in progress, causing a log of problems. I now, have to modify the git folder structure.

When working as a Java developer, I only dealt with git, from local environment, kind of keeping it a single dimensional operations and it was easier to be in control. But now with ADF, it does some commits for you leaving you somewhat in the dark.

** Keep this in mind, and document thoroughly the way you configure git with your Azure Data Factory

发布评论

评论列表(0)

  1. 暂无评论