Ghost docs
Self-hosted git. Push over HTTP, browse the code, open pull requests, review the diff, merge.
Ghost is a self-hosted git hosting platform. Push and pull over HTTP or SSH, browse trees and blobs, open pull requests across branches and forks, and track work in issues.
Connecting over SSH
HTTP asks for a personal access token every time something forgets it. SSH asks for a key once, and then stays out of the way.
About SSH access
What the transport does, and what it refuses to do.
Generating an SSH key
Make a key pair and load it into the agent.
Adding a key to your account
Copy the public half into your settings.
Using SSH with a repository
Clone over SSH, or move an existing remote onto it.
Signing your commits
A commit records whoever the user.email setting says wrote it. Nothing stops
anyone from setting that to your address. Signing a commit with a GPG key you
control is what turns "this commit claims to be from you" into "this commit
was made by whoever holds your key".
Start here:
About commit signature verification
What the Verified badge means, and what it does not.
Generating a GPG key
Install GnuPG and create a key you can sign with.
Adding a key to your account
Export the public half and paste it into your settings.
Telling git about your key
Configure git to sign every commit you make.
Working with repositories
Checking out pull requests locally
Fetch a pull request's commits to review or test them.
Git LFS
Keep large files out of the repository's history.
Building on Ghost
Building an OAuth app
Let your tools sign people in with their Ghost account.
OAuth URL generator
Build an authorize URL and token request in the browser.
Receiving webhooks
Get a signed POST whenever something happens.
GitHub CLI
Use gh, and tools written for GitHub's API, with Ghost.