Quickstart
Create an account, push your first repository and open a pull request.
1. Create an account
Open sign up and choose a username, email address and password, or choose Sync with GitHub to sign up with GitHub. Open the link in the verification email: you need a verified address to create repositories. If a GitCafe page sent you to sign up, opening the link in the same browser takes you back to that page once your address is verified.
2. Install the CLI and sign in
The cafe CLI handles sign-in and Git credentials for you. It needs
Bun 1.2 or newer.
| 1 | bun install -g @gitcafe/cli |
| 2 | cafe auth login |
| 3 | cafe auth http setup |
cafe auth login opens your browser to approve the
sign-in; cafe auth http setup lets Git
use that login for HTTPS. To use SSH instead, add an
SSH key. See Git access for both.
3. Create a repository
| 1 | cafe repo create my-app --private |
Or open /new in the browser; see create a repository.
4. Push your code
From your project directory:
| 1 | git init -b main |
| 2 | git add . |
| 3 | git commit -m "First commit" |
| 4 | git remote add origin https://git.cafe/<you>/my-app |
| 5 | git push -u origin main |
5. Open a pull request
| 1 | git switch -c add-readme |
| 2 | echo "# my-app" > README.md |
| 3 | git add README.md |
| 4 | git commit -m "Add a README" |
| 5 | git push -u origin add-readme |
| 6 | cafe pr create --title "Add a README" |
Open the pull request on GitCafe to review and merge it.
Next steps
- Bring existing projects over with GitHub import.
- Invite collaborators in repository access, or set up an organization.
- Protect
mainwith a ruleset.