SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
Phil_NZ
Barite | Level 11

Hi all SAS Users,

 

I am new to Git in SAS EG.

I am wondering why my Git Repositories does not autoupdate with my change in github.

For example, I have my Github here:

https://github.com/gf199x/Executed_auto

The readme file of repository main is

My97_0-1616399464297.png

But the Clone Execute_auto-main still remains the same, does not change

My97_1-1616399504061.png

Could you please guide me how to sort it out?

Or, every time we update from GitHub, we need to download the zip file and replace the existing one in the clone folder?

Warmerst regards.

 

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
6 REPLIES 6
PhilC
Rhodochrosite | Level 12

I believe because, "programing groups" are supposed to use Git together.  Now, depending on what the programing group's culture is, each push to Git may signify a certain amount of change.  For one group, it could be the work you did that day, or that hour.  To another group, each push might address one single issue at a time, that is: fixes to two or more features should not be combined into one push.  I'm very new to Git too, and there's probably a better reason.

Phil_NZ
Barite | Level 11

Hi @PhilC 

Do you know any group to learn how to merge SAS EG and GitHub for newbie by the way. I read some papers from SGF 2020 but still confused quite a bit.

 

Cheers,

Phil.

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
PhilC
Rhodochrosite | Level 12

I did once dip my toes into a volunteer, open-source, Java-script project that had a nicely sized Github community.  I learned quite a bit from that, but not enough.  I don't know if anything like that exists for SAS.

AlanC
Barite | Level 11
I use Git a lot. then again, I am a C#/SAS coder and C# uses Git all of the time. I know Git is integrated now into EG, which I have not used yet, but I can tell you how it works in my C# world. Same holds true in SAS world.

Read papers by Chris Hemendinger on git in SAS. They should be great. Here is one: https://blogs.sas.com/content/sasdummy/2019/01/17/git-in-sas/

Git operates with a local repository which stores your changes. When you make changes, they are committed locally. Once you are comfortable with all of the local changes (commits), you need to push the changes to GitHub. 2 step process: commit then push.

I am not aware of any SAS community that helps with SAS/Git integration.

HTH

https://github.com/savian-net
jennifert
SAS Employee

Hi @Phil_NZ ,

If you're interested, the documentation for Git integration in SAS Enterprise Guide 8.2 starts here:

About Git Integration in SAS Enterprise Guide 

 

thanks,

Jennifer


Catch the SAS Global Forum keynotes, announcements, and tech content!
sasglobalforum.com | #SASGF

PhilC
Rhodochrosite | Level 12

Another reason Other reasons that you might not want to push your changes every time you change code...  [Cartoon SFW]

git push meme --force : ProgrammerHumor (reddit.com)

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 1590 views
  • 6 likes
  • 4 in conversation