Skip to content

Go to the docs contents

Git repository

Each project has its git repository at while. A push to main deploys production, and a push to another branch creates a preview.

Updated November 9, 2026.

View as Markdown

You, to your agent: Give me the project’s git address, so we deploy on every push.

When to use it

Use it to deploy on every push: main to production, every other branch to a preview.

How it works

Each project has its git repository at while. A push to main deploys production, and a push to another branch creates a preview.

What to know

The repository speaks git’s HTTP protocol, and your while token serves as the password.

Guides

Connect your agent, it takes care of the rest

To paste into your agent

Read while.sh/agents, then deploy my app with while.

Copy the instructions

No account needed to try: your app is live right away. To keep it, sign in.

A project for your company? Talk to the team: hello@while.sh