github.com/pachyderm/pachyderm@v1.13.4/doc/docs/master/reference/pachctl/pachctl_diff_file.md (about)

     1  ## pachctl diff file
     2  
     3  Return a diff of two file trees.
     4  
     5  ### Synopsis
     6  
     7  Return a diff of two file trees.
     8  
     9  ```
    10  pachctl diff file <new-repo>@<new-branch-or-commit>:<new-path> [<old-repo>@<old-branch-or-commit>:<old-path>] [flags]
    11  ```
    12  
    13  ### Examples
    14  
    15  ```
    16  
    17  # Return the diff of the file "path" of the repo "foo" between the head of the
    18  # "master" branch and its parent.
    19  $ pachctl diff file foo@master:path
    20  
    21  # Return the diff between the master branches of repos foo and bar at paths
    22  # path1 and path2, respectively.
    23  $ pachctl diff file foo@master:path1 bar@master:path2
    24  ```
    25  
    26  ### Options
    27  
    28  ```
    29        --diff-command string   Use a program other than git to diff files.
    30        --full-timestamps       Return absolute timestamps (as opposed to the default, relative timestamps).
    31    -h, --help                  help for file
    32        --name-only             Show only the names of changed files.
    33        --no-pager              Don't pipe output into a pager (i.e. less).
    34    -s, --shallow               Don't descend into sub directories.
    35  ```
    36  
    37  ### Options inherited from parent commands
    38  
    39  ```
    40        --no-color   Turn off colors.
    41    -v, --verbose    Output verbose logs
    42  ```
    43