1 GIT Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Usage: o To define the necessary VSI GIT symbols and set up the environment for using Git commands, the user must execute the following script: $ @SYS$STARTUP:GIT$STARTUP.COM or to ensure VSI GIT starts automatically, request the system administrator to add the following line to SYS$MANAGER:SYLOGIN.COM: $ GITSTART := SYS$STARTUP:GIT$STARTUP.COM $ IF f$search("''GITSTART'") .NES. "" THEN @'GITSTART' o Make sure that the process parsing style is set with SET PROCESS/PARSE_STYLE=EXTENDED when using VSI Git. o Before running Git commands that modify the working directory or history (e.g., STASH, RESET, MERGE, CHECKOUT), ensure that only one version of each file is available by purging older versions if necessary. For more information please refer to: https://git-scm.com/docs/git. 2 ADD This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit. It typically adds the current content of existing paths as a whole, but with some options it can also be used to add content with only part of the changes made to the working tree files applied, or remove paths that do not exist in the working tree anymore. Command Syntax: git add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p] [--edit | -e] [--[no-]all | -A | --[no-]ignore-removal | [--update | -u]] [--sparse] [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing] [--renormalize] [--chmod=(+|-)x] [--pathspec-from-file= [--pathspec-file-nul]] [--] […​] 2 APPLY Reads the supplied diff output (i.e. "a patch") and applies it to files. When running from a subdirectory in a repository, patched paths outside the directory are ignored. With the --index option, the patch is also applied to the index, and with the --cached option, the patch is only applied to the index. Without these options, the command applies the patch only to files, and does not require them to be in a Git repository. Command Syntax: git apply [--stat] [--numstat] [--summary] [--check] [--index | --intent-to-add] [--3way] [--apply] [--no-add] [--build-fake-ancestor=] [-R | --reverse] [--allow-binary-replacement | --binary] [--reject] [-z] [-p] [-C] [--inaccurate-eof] [--recount] [--cached] [--ignore-space-change | --ignore-whitespace] [--whitespace=(nowarn|warn|fix|error|error-all)] [--exclude=] [--include=] [--directory=] [--verbose | --quiet] [--unsafe-paths] [--allow-empty] […​] 2 BISECT This command uses a binary search algorithm to find which commit in your project’s history introduced a bug. You use it by first telling it a "bad" commit that is known to contain the bug, and a "good" commit that is known to be before the bug was introduced. Command Syntax: git bisect start [--term-(bad|new)= --term-(good|old)=] [--no-checkout] [--first-parent] [ [...]] [--] [...] git bisect (bad|new|) [] git bisect (good|old|) [...] git bisect terms [--term-(good|old) | --term-(bad|new)] git bisect skip [(|)...] git bisect reset [] git bisect (visualize|view) git bisect replay git bisect log git bisect run [...] git bisect help 2 BLAME Annotates each line in the given file with information from the revision which last modified the line. Optionally, start annotating from the given revision. Command Syntax: git blame [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-e] [-p] [-w] [--incremental] [-L ] [-S ] [-M] [-C] [-C] [-C] [--since=] [--ignore-rev ] [--ignore-revs-file ] [--color-lines] [--color-by-age] [--progress] [--abbrev=] [ --contents ] [ | --reverse ..] [--] 2 BRANCH If --list is given, or if there are no non-option arguments, existing branches are listed; the current branch will be highlighted in green and marked with an asterisk. Any branches checked out in linked worktrees will be highlighted in cyan and marked with a plus sign. Option -r causes the remote-tracking branches to be listed, and option -a shows both local and remote branches. Command Syntax: git branch [--color[=] | --no-color] [--show-current] [-v [--abbrev= | --no-abbrev]] [--column[=] | --no-column] [--sort=] [--merged []] [--no-merged []] [--contains []] [--no-contains []] [--points-at ] [--format=] [(-r | --remotes) | (-a | --all)] [--list] […​] git branch [--track[=(direct|inherit)] | --no-track] [-f] [--recurse-submodules] [] git branch (--set-upstream-to= | -u ) [] git branch --unset-upstream [] git branch (-m | -M) [] git branch (-c | -C) [] git branch (-d | -D) [-r] …​ git branch --edit-description [] 2 CHERRY-PICK Given one or more existing commits, apply the change each one introduces, recording a new commit for each. This requires your working tree to be clean (no modifications from the HEAD commit). Command Syntax: git cherry-pick [--edit] [-n] [-m ] [-s] [-x] [--ff] [-S[]] …​ git cherry-pick (--continue | --skip | --abort | --quit) 2 CHECKOUT Updates files in the working tree to match the version in the index or the specified tree. If no pathspec was given, git checkout will also update HEAD to set the specified branch as the current branch. Command Syntax: git checkout [-q] [-f] [-m] [] git checkout [-q] [-f] [-m] --detach [] git checkout [-q] [-f] [-m] [--detach] git checkout [-q] [-f] [-m] [[-b|-B|--orphan] ] [] git checkout [-f] [--] …​ git checkout [-f] --pathspec-from-file= [--pathspec-file-nul] git checkout [-f|--ours|--theirs|-m|--conflict=