Advanced Git Operations for SAS® and Python Development with Visual Studio Code in SAS® Viya
32m + Hands-On Practice
Available in:
Advanced Git Operations for SAS® and Python Development with Visual Studio Code in SAS® Viya
DE411W : DE411A
This workshop provides hands-on experience with advanced Git operations for SAS and Python development in SAS Viya. Participants use Visual Studio Code and the SAS Extension to manage SAS and Python files with Git, covering operations that go beyond what the SAS Studio Git plugin exposes: interactive rebasing, rebase-based conflict resolution, multiple stashes, and a full Git Flow branching model with feature, bugfix, release, and hotfix branches. The course is designed for advanced users who already know the Git basics covered in other workshops.
Learn How To
Use Visual Studio Code as a Git-enabled IDE connected to SAS Viya:
- Configure VS Code, install the SAS Extension, and connect to SAS Viya.
- Create a private workshop repository on GitHub and clone it locally.
- Apply advanced Git operations to SAS and Python programs:
- Feature branches, pull requests, and tagging in a collaborative GitHub workflow.
- Merge conflict resolution for SAS programs.
- Rebase conflict resolution and interactive rebasing (squash, fixup, reword).
- Multiple named stashes for managing parallel in-progress changes.
- Git Flow branching model: feature, bugfix, release, and hotfix branches for
.sasand.pyassets.
Who Should Attend
This course builds on the Git fundamentals covered in Versioning with SAS(R) Studio Git Integration (DE410W), equipping you with advanced version control techniques for SAS and Python development. You'll gain practical experience with interactive rebasing, rebase-based conflict resolution, stash management, and the Git Flow branching model, operations that are essential for professional collaborative development but not available through the SAS Studio Git plugin.
This course is ideal for SAS and Python developers who want to move beyond basic Git workflows and adopt structured branching and integration strategies in their projects."
Prerequisites
Before taking this course, participants should have:
- Completion of Versioning with SAS® Studio Git Integration (DE410W) or equivalent experience with Git fundamentals: clone, branch, stage, commit, merge, push.
- Familiarity with SAS programming and Python scripting.
- Basic comfort with a command-line terminal (Git Bash is used throughout the workshop).
- Experience using SAS Viya environments, and either experience with Visual Studio Code or willingness to configure it for the first time.
- A GitHub account with knowledge of how to fork repositories and manage branches.
SAS Products Covered
SAS Viya
Course Outline
- Setup
- Configure VS Code settings and connect to a SAS Viya environment using the SAS Extension.
- Fork the workshop repository on GitHub and obtain your personal access token (PAT).
- Clone the repository locally and verify the connection.
- Core Git Operations for SAS and Python Programs
- Create branches, develop and test
.sasand.pyprograms, stage, commit, and push changes. - Open pull requests and merge branches in a collaborative GitHub workflow.
- Tag releases for version tracking.
- Create branches, develop and test
- Advanced Git Operations
- Resolve merge conflicts in SAS programs.
- Rebase branches and resolve rebase conflicts.
- Use interactive rebasing: squash, fixup, and reword commits.
- Manage multiple named stashes for parallel in-progress changes.
- Use
git resetto undo or restructure commits.
- Git Flow Branching Model
- Set up and manage feature branches for new development.
- Create bugfix branches for defects found during development.
- Manage release branches for stabilization and deployment.
- Apply hotfix branches for urgent production fixes.
Live Class Schedule
Duration: 7 hours
Step into our live classes and experience a dynamic learning environment where you can ask questions, share ideas, and connect with your instructor and classmates. With on-demand lab hours, you can explore the material at your own pace. Our globally acclaimed instructors will motivate you to think bigger, so you can take what you've learned and achieve your biggest goals.
This course isn't publicly scheduled, but private training and coaching may be available. Contact us to explore options.
Private Training
Get training tailored specifically for your team, led by expert SAS instructors. Choose from virtual sessions, or training at your location (or ours). Perfect for teams seeking a customized curriculum and plenty of interaction with a SAS specialist. We'll schedule it at a time that works for you.
Coaching Services
Take your training to the next level with personalized coaching. While private training offers structured coursework, coaching provides hands-on, real-time support from a subject matter expert. As you work with your own data, you'll receive expert guidance to help you uncover insights, unlock the full potential of your data, and make faster progress. Perfect for those looking to apply what they’ve learned and see quicker results.