git.deez.uk / docs

Git Docs

How to use git.deez.uk, Deez's own Git server.

About

git.deez.uk hosts Deez's projects and releases. Anyone can browse public repositories and download releases without an account. Deez's repositories are at git.deez.uk/Deez.

Accounts

Sign-ups are closed. You only need an account to push code, open issues or create repositories. To ask for one, email deez@deez.uk or ask in the Discord.

Cloning

Clone over HTTPS. Public repositories need no login:

git clone https://git.deez.uk/Deez/REPO.git

Every repository page also has a Download button for a ZIP or TAR of any branch or tag, and a Releases tab for built files.

Pushing

Git asks for your username and a password when you push. Use an access token instead of your account password:

  1. On git.deez.uk, open Settings → Applications.
  2. Create a token with the write:repository permission and copy it. It's only shown once.
  3. When Git asks for a password, paste the token.
git remote add origin https://git.deez.uk/USERNAME/REPO.git
git push -u origin main
Creating a repository with "Initialize repository" ticked gives it a first commit. If you're pushing an existing project, untick it, or run git pull --rebase origin main before your first push.

Uploads & LFS

Uploading through the website (files and release attachments) allows up to 1000 files per upload and 100 MB per file. For large binaries in a repository, use Git LFS, which is turned on:

git lfs install
git lfs track "*.dll"
git add .gitattributes

Download badges

The Deez API counts release downloads for any public repository on git.deez.uk, in a format shields.io understands. Add one to a README:

![downloads](https://img.shields.io/endpoint?url=https://api.deez.uk/badge/gitea/downloads/OWNER/REPO)
CountsURL after /badge/gitea/downloads/
Every releaseOWNER/REPO
One file in the latest releaseOWNER/REPO/latest/FILE
One file in a tagged releaseOWNER/REPO/TAG/FILE

Counts are cached for 5 minutes.

License

Deez's repositories use the Deez License, included as LICENSE or LICENSE.md. In short:

  • You can download, use and share the files for free, unmodified, with credit to Deez.
  • You can't modify them or publish modified versions.
  • You can't decompile, reverse-engineer, patch or bypass protections in them.
  • You can't use them commercially.

This summary isn't the license itself. Read the full text. A repository with a different license file uses that license instead.

API

git.deez.uk runs Gitea, so its full REST API is available. Browse it at git.deez.uk/api/swagger. Public data needs no token; anything else needs an access token sent as Authorization: token YOUR_TOKEN.

curl https://git.deez.uk/api/v1/repos/Deez/REPO/releases/latest