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.
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 organization. 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