Git Editing Workflows

<< Click to Display Table of Contents >>

Navigation:  Introduction >

Git Editing Workflows

Listed below are some example workflow use-case flow scenarios for editing source and version controlling with iForGit.

 

Simple Version Control for SEU Source Members (Backup Existing Source To Git On-The-Fly)

Use the STRSEUGIT command to edit source members.

Current version auto-pulled from Git repository

SEU auto-called for editing

On save, changes are committed to local repository, remote repository or synced with remote repository.

Backup process for source - Back up existing source files regularly and also the Git IFS local repository directories.

Optional - Set up your repositories to be connected to a remote Git server such as: Github, Gitlab, Bitbucket, Bonobo Git Server (Windows) or other Git remote server or on-premise hosting platform. A remote repository is NOT needed to start versioning your source.

This is the most transparent option for traditional IBM i development shops to get started,

 

Simple Version Control for Rdi Users Editing Regular Source Members from Source Files

Use RDi Remote System Explorer to edit and save source member.

Create an RDi user action to call SRCTOGIT to commit source changes or you can use the WRKMBRPDM GE option to call SRCTOGIT.

Create an RDi user action to call SRCFRMGIT to get most recent source version from Git repository or you can use the WRKMBRPDM GI option to call SRCFRMGIT.

This option requires a conscious effort to commit or pull source members, but is integrated to RDi as a User Action.

 

Simple Version Control for Rdi Users Editing Regular IFS Based Source from the Local Git Repo

Use RDi Remote System Explorer to edit and save source member in the IFS

Create an RDi user action to call SRCTOGIT to commit source changes or you can use the WRKMBRPDM GE option to call SRCTOGIT.

Create an RDi user action to call SRCFRMGIT to get most recent source version from Git repository or you can use the WRKMBRPDM GI option to call SRCFRMGIT.

This option requires a conscious effort to commit or pull source members, but is integrated to RDi as a User Action.

 

Simple Version Control for Notepad++, VS Code and Other Editor Users Editing from the IFS

Work with your source in the IFS local repository or check out your own local PC copy and edit source members.

Commit source members from your PC to a local IFS repository or from your PC to a remote repository and then do a pull into the IFS for the source member ith your Git client.

Or simply use the GITCMD CL command with a pull option to pull changes from a remote repository to the IFS for editing.

Or simply use the WRKMBRPDM GE option to call SRCFRMGIT to pull the member from the local or remote repository to the IFS and to a source member

Note:When using Notepad++, VS Code or other editors you may need to schedule some custom training to come up with a Git workflow that meets your team's needs.