Skip to content

init

Initialize a new Pogo repository in the current directory.

This command creates a new repository on the specified Pogo server and configures the current directory to track it. A .pogo.yaml file will be created to store the repository configuration.

The repository can be made public (read-only access for everyone) or kept private (requires authentication for all access).

Terminal window
pogo init
  • --name : repository name
  • --public: make repository public
  • --server : host:port
Terminal window
# Initialize a private repository
pogo init --server localhost:8080 --name my-project
# Initialize a public repository
pogo init --server pogo.example.com:8080 --name open-source-project --public