<?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 SAS functions for Git from Linux to GitLab - branch trouble in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-functions-for-Git-from-Linux-to-GitLab-branch-trouble/m-p/990085#M380253</link>
    <description>&lt;P&gt;I have made great progress connecting a local repo on Linux to my GitLab remote repository.&amp;nbsp; I successfully pushed directly to main branch.&amp;nbsp; Afterwards, I wanted to create a branch and push the branch (best practice).&amp;nbsp; However, I have run into a situation that is confusing me.&lt;/P&gt;
&lt;P&gt;I created and checked out a branch:&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;rc= git_branch_chkout(&lt;BR /&gt;"/opt/sas/SAS_env/users/dakruse/gitcode/denise-first-project", &lt;BR /&gt;"DeesBranch"); &lt;BR /&gt;put rc=;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;I confirmed that there was one item that needed to be staged and I staged it.&lt;/P&gt;
&lt;P&gt;NOTE: Entry: onedrive_macros.sas. Staged: True. Status: New.&lt;/P&gt;
&lt;P&gt;I committed that change:&lt;/P&gt;
&lt;P&gt;30 data _null_;&lt;BR /&gt;31 rc= git_commit(&lt;BR /&gt;32 "/opt/sas/SAS_env/users/dakruse/gitcode/denise-first-project",&lt;BR /&gt;33 "DeesBranch",&lt;BR /&gt;34 "Denise Kruse",&lt;BR /&gt;35 "my email was here",&lt;BR /&gt;36 "BRANCH commit from SAS code.");&lt;BR /&gt;37 run;&lt;/P&gt;
&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, when I PUSH, I don't see the module onedrive_macros.sas there.&amp;nbsp; It DID push my new branch to GitLab.&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;rc= git_push( &lt;BR /&gt;"/opt/sas/SAS_env/users/dakruse/gitcode/denise-first-project",&lt;BR /&gt;"this was my ID",&lt;BR /&gt;"this was my PAT");&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know in GitBash, just being in the branch when the push is executed makes the module push.&amp;nbsp; I don't understand why I'm not seeing this module in GitLab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas from experience?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Denise&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2026 15:02:35 GMT</pubDate>
    <dc:creator>Denise</dc:creator>
    <dc:date>2026-06-25T15:02:35Z</dc:date>
    <item>
      <title>SAS functions for Git from Linux to GitLab - branch trouble</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-functions-for-Git-from-Linux-to-GitLab-branch-trouble/m-p/990085#M380253</link>
      <description>&lt;P&gt;I have made great progress connecting a local repo on Linux to my GitLab remote repository.&amp;nbsp; I successfully pushed directly to main branch.&amp;nbsp; Afterwards, I wanted to create a branch and push the branch (best practice).&amp;nbsp; However, I have run into a situation that is confusing me.&lt;/P&gt;
&lt;P&gt;I created and checked out a branch:&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;rc= git_branch_chkout(&lt;BR /&gt;"/opt/sas/SAS_env/users/dakruse/gitcode/denise-first-project", &lt;BR /&gt;"DeesBranch"); &lt;BR /&gt;put rc=;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;I confirmed that there was one item that needed to be staged and I staged it.&lt;/P&gt;
&lt;P&gt;NOTE: Entry: onedrive_macros.sas. Staged: True. Status: New.&lt;/P&gt;
&lt;P&gt;I committed that change:&lt;/P&gt;
&lt;P&gt;30 data _null_;&lt;BR /&gt;31 rc= git_commit(&lt;BR /&gt;32 "/opt/sas/SAS_env/users/dakruse/gitcode/denise-first-project",&lt;BR /&gt;33 "DeesBranch",&lt;BR /&gt;34 "Denise Kruse",&lt;BR /&gt;35 "my email was here",&lt;BR /&gt;36 "BRANCH commit from SAS code.");&lt;BR /&gt;37 run;&lt;/P&gt;
&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, when I PUSH, I don't see the module onedrive_macros.sas there.&amp;nbsp; It DID push my new branch to GitLab.&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;rc= git_push( &lt;BR /&gt;"/opt/sas/SAS_env/users/dakruse/gitcode/denise-first-project",&lt;BR /&gt;"this was my ID",&lt;BR /&gt;"this was my PAT");&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know in GitBash, just being in the branch when the push is executed makes the module push.&amp;nbsp; I don't understand why I'm not seeing this module in GitLab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas from experience?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Denise&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 15:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-functions-for-Git-from-Linux-to-GitLab-branch-trouble/m-p/990085#M380253</guid>
      <dc:creator>Denise</dc:creator>
      <dc:date>2026-06-25T15:02:35Z</dc:date>
    </item>
  </channel>
</rss>

