Learn R Programming

gitGPT (version 0.1.3)

generate_git_diff_output: Generate git diff output

Description

Returns the git diff output for the current working directory, and lists any new files found. It checks the system's OS and executes the appropriate command to generate the git diff.

Usage

generate_git_diff_output()

Arguments

Value

A character vector containing the git diff output.

Examples

Run this code
if (FALSE) {
  # View with cat() for easier reading
  cat(generate_git_diff_output())
}

Run the code above in your browser using DataLab