Skip to content

git tree [<commit>] [<commit>] #6

@wteuber

Description

@wteuber

Current git status tree

git tree

Show changes files in commit in tree format

git tree <commit>

Show changes files in diff in tree format

git tree <commit> <commit>

Useful commands that can be used in GitStatusTree#initialize

git diff-tree --no-commit-id --name-status -r <commit>
git diff-tree --no-commit-id --name-status -r <commit> <commit>

e.g.

`files = (%x(git diff-tree --name-status -r #{commit1} #{commit2})).gsub(/\t/,'  ').split(/\n/)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions