cURL
curl --request GET \ --url http://localhost:3001/api/v1/git/ls-tree \ --cookie nut-session=
{ "success": true, "data": [ "<string>" ] }
List all files tracked by Git in the current HEAD using git ls-tree -r --name-only HEAD.
git ls-tree -r --name-only HEAD
Session cookie authentication
List of tracked file paths
true
File paths tracked in HEAD