<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Access Git folder information from notebook in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/access-git-folder-information-from-notebook/m-p/92162#M1934</link>
    <description>&lt;P&gt;In my Workspace, I have a repository with Git folder.&lt;/P&gt;&lt;P&gt;I would like to access programatically with Python from within a notebook:&lt;/P&gt;&lt;P&gt;- name of the repo&lt;/P&gt;&lt;P&gt;- currently checked out branch in the repo&lt;/P&gt;&lt;P&gt;I want to do this in two different ways:&lt;/P&gt;&lt;P&gt;(1) Access said information in a notebook inside the repo's working directory&lt;/P&gt;&lt;P&gt;(2) Access said information in a notebook outside the repo's working directory&lt;/P&gt;&lt;P&gt;Can I achieve both aims, and how?&lt;/P&gt;</description>
    <pubDate>Sat, 28 Sep 2024 12:15:34 GMT</pubDate>
    <dc:creator>johnb1</dc:creator>
    <dc:date>2024-09-28T12:15:34Z</dc:date>
    <item>
      <title>Access Git folder information from notebook</title>
      <link>https://community.databricks.com/t5/administration-architecture/access-git-folder-information-from-notebook/m-p/92162#M1934</link>
      <description>&lt;P&gt;In my Workspace, I have a repository with Git folder.&lt;/P&gt;&lt;P&gt;I would like to access programatically with Python from within a notebook:&lt;/P&gt;&lt;P&gt;- name of the repo&lt;/P&gt;&lt;P&gt;- currently checked out branch in the repo&lt;/P&gt;&lt;P&gt;I want to do this in two different ways:&lt;/P&gt;&lt;P&gt;(1) Access said information in a notebook inside the repo's working directory&lt;/P&gt;&lt;P&gt;(2) Access said information in a notebook outside the repo's working directory&lt;/P&gt;&lt;P&gt;Can I achieve both aims, and how?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 12:15:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/access-git-folder-information-from-notebook/m-p/92162#M1934</guid>
      <dc:creator>johnb1</dc:creator>
      <dc:date>2024-09-28T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Access Git folder information from notebook</title>
      <link>https://community.databricks.com/t5/administration-architecture/access-git-folder-information-from-notebook/m-p/92166#M1935</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79252"&gt;@johnb1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can use one of the following options to achieve what you want:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- databricks CLI repos commands&amp;nbsp;&lt;/P&gt;&lt;P&gt;- databricks python SDK&lt;/P&gt;&lt;P&gt;- databricks rest API calls&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 13:00:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/access-git-folder-information-from-notebook/m-p/92166#M1935</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-09-28T13:00:42Z</dc:date>
    </item>
  </channel>
</rss>

