Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitBranchFiles ? #1538

Open
5 tasks done
Sanix-Darker opened this issue Apr 22, 2024 · 0 comments
Open
5 tasks done

GitBranchFiles ? #1538

Sanix-Darker opened this issue Apr 22, 2024 · 0 comments

Comments

@Sanix-Darker
Copy link

Sanix-Darker commented Apr 22, 2024

This is pretty New and different from GitFiles, let say i want to get changes made on all the files for the current branch am on.
Not talking about GitFiles[?]
But for actually all the files on the current branch that were changed from the base branch.

You can obtain this by using :

  • On Files changed that differs from the base branch : git diff --stat $(git merge-base HEAD origin) --name-only
  • And to get changed per files : <same command as above (witouth "name-only" flag)> --patch -- this_file.py

I have started a draft POC and i was wondering if i can propose a well clean PR for that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant