![]() How do you ensure SAS server program files are kept up to date with the latest code in the remote repo (assuming the remote repo is synced with a local repo on the user's local machine)? But the Git functions receive regular enhancements, so it could be added someday. I think the current answer is no, not from within SAS. Is there a programmatic way to view any tags that have been added to a commit? Typically that's going to come from your organization's Git environment or a service like GitHub. There is nothing you need to install for EG to work with this, but you would need an external Git repository (collection of files managed in Git). For true collaboration and working with typical dev practices, you can use Git to manage programs outside of your project - which reside in the file system, and you simply reference these as shortcuts in your project. It's fine for a single user who wants to take advantage of program history and restore. The Git feature that's built into SAS Enterprise Guide works on EG projects only - using embedded SAS programs. What would be the difference in using Git that is already built-in to SAS EG? Will it require any coding on a Git side? See an example of using Git functions to initialize a repo, stage files, commit and push - all within a SAS session. ![]() The Git functions within SAS do not require that you have access to the command line or that you be allowed to run operating system commands directly. The system I use doesn't give me access to the command line. Having these in Git repos ensure others can pick them up in my absence. I may be biased, but I think these code projects are important assets to my company. But it's also good for continuity of business. It helps me to have that version control. We have an internal GitLab repository where I I put all of these. I have a lot of projects that I manage - SAS code projects. You can get a lot of benefit even as a sole developer for using Git. I primarily write and update SAS programs on my own.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |