Skip to main content

Module git_context

Module git_context 

Source

Functionsยง

read_git_diff
Reads the current git diff (staged + unstaged) and returns it as a formatted string. Includes capping to prevent token overflow.
read_git_status
Reads a short summary of the current git status (branch + changes).