Skip to content

Git Inspector ​

View repository status, browse commit history, and perform basic Git operations.

Git Inspector — Summary

Summary View ​

FieldDescription
BranchCurrent branch name with checkout button
Last commitSHA, message, and author of the latest commit
RemoteRemote name and URL
StatusCurrent git status output

Actions ​

ActionDescription
CheckoutSwitch to any branch (validated: alphanumeric, /, ., -, _)
PullRun git pull --rebase=false
FetchRun git fetch --tags

Commit Log ​

Git Inspector — Log

Browse the last 20 commits with SHA, message, and author info.

API Endpoints ​

MethodPathDescription
GET/inspect/api/git/summaryBranch, SHA, remotes, status
GET/inspect/api/git/logLast 20 commits
POST/inspect/api/git/checkoutSwitch branch
POST/inspect/api/git/commandRun pull or fetch

Checkout request body:

json
{
    "branch": "feature/my-branch"
}

Command request:

POST /inspect/api/git/command?command=pull

TIP

Git operations use the Gitonomy library for safe repository interaction.

Released under the MIT License.