Skip to content

Natural way to refer to files #4

@gleb-roma

Description

@gleb-roma

After you get a status, you typically see something like this:

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   ope/logit_modularized_clean_new_feature_panel/source.py

I want to say
gitgpt what are changes in the first modified file

It suggests

git diff HEAD~1 <filename> [y/N] y
sh: -c: line 2: syntax error near unexpected token `newline'
sh: -c: line 2: `git diff HEAD~1 <filename>'
Error: exit status 2

(doesn't work)

What I expect is
git diff ope/logit_modularized_clean_new_feature_panel/source.py

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