cURL
curl --request GET \ --url http://localhost:3000/api/v1/git/worktrees \ --cookie nut-session=
{ "success": true, "data": { "worktrees": [ { "path": "<string>", "branch": "<string>", "commit": "<string>", "locked": true, "prunable": true } ] } }
Retrieve all Git worktrees
Session cookie authentication
List of worktrees
Show child attributes
Worktree path
Associated branch
HEAD commit SHA
Is worktree locked
Can be pruned