← Getting started

Your first push

Install the CLI, authenticate, and push your first commit — with pipeline feedback in the terminal.

Install the CLI

curl -fsSL https://cli.gittan.eu/install.sh | bash

The install script detects your OS and architecture and places the binary in ~/.local/bin. Add it to your PATH if it is not already there.

Authenticate

gittan auth login

This opens a browser window for OIDC device-flow authentication. Once approved, credentials are stored at ~/.config/gittan/credentials and refreshed automatically.

Configure git credentials

For HTTPS:

git config --global credential.https://git.gittan.eu.helper 'gittan credential'

For SSH (required for pushing):

gittan auth setup-ssh

This generates an SSH key, registers it with your account, and configures ~/.ssh/config so git finds it automatically.

Already have a key? Register it via the web UI (Settings > SSH Keys) or the CLI:

gittan ssh-keys add --title "my laptop" --file ~/.ssh/id_ed25519.pub

If your key is at a default path (~/.ssh/id_ed25519 or ~/.ssh/id_rsa), SSH uses it automatically. For a non-default path, point your SSH config at it:

Host git.gittan.eu
  User git
  IdentityFile ~/.ssh/your-key

Clone and push

Use SSH to clone (required for pushing):

git clone git@git.gittan.eu:your-org/your-repo.git
cd your-repo
echo "hello" > README.md
git add README.md
git commit -m "feat: first commit"
git push

Pipeline output streams directly to your terminal during push. You will see each step start, pass, or fail — no browser required.

remote: ► Pipeline started my-app @ a1b2c3d
remote:   feat: first commit
remote:   install ............... pass  4s
remote:   lint .................. pass  2s
remote:   test .................. pass  8s
remote:   build ................. pass  12s
remote:
remote: ✓ All stages passed (26s) — main updated

If the pipeline fails, the push is rejected. Fix the issue, commit, and push again. No separate CI dashboard to check.

HTTPS clone (public repos only)

Public repos can be cloned over plain HTTPS — no credentials needed:

git clone https://git.gittan.eu/your-org/your-public-repo.git

This is read-only. Pushing requires SSH. Private repos return 403 over HTTPS with instructions to use SSH. See Public repos & packages for details.