About Gogs
Gogs is the Go-based Git service that Gitea originally forked from. It serves repositories over SSH and HTTP with Git LFS, and adds issues, pull requests, protected branches, webhooks and a REST API. Its code is MIT-licensed.
The project names 2 CPU cores and 512 MB of RAM as a baseline for teamwork, so even the entry Cloud VPS plans fit. Pick a region near your developers and keep port 3000 behind a reverse proxy with HTTPS.
Gogs then shows its install page on port 3000.
What you get with Gogs
- Git over SSH and HTTP, with Git LFS
- Issues, pull requests and protected branches
- Webhooks and a REST API
- PostgreSQL, MySQL or SQLite3 storage
- LDAP sign-in and two-factor authentication
Gogs use cases
- A Git server on the smallest possible plan
- Private repositories for a solo developer or a few friends
- Lightweight mirrors and backups of repositories
After you deploy Gogs
- With the console showing Running, browse to
http://<server IP>:3000to load the install page. - Choose SQLite3 for a small setup, set the domain and application URL, and fill in the admin account section; otherwise the first registered user becomes admin.
- Add your public key in your user settings and push a first repository over SSH.
- Put Gogs behind HTTPS on your own domain, then update the application URL to match.
Gogs ports
Open these in your firewall if you use one: 3000/tcp web, 22/tcp Git over SSH.
Gogs FAQ
Should I pick Gogs or Gitea?
Gogs stays deliberately small and moves slowly; Gitea began as a Gogs fork and now ships more features, such as built-in CI. Choose Gogs when the lightest footprint matters most.
Can Gogs use the server's own SSH daemon?
Yes. By default Gogs registers keys with the system SSH server for its run user, so clones use port 22; its built-in SSH server is an option when you want Git on a separate port.
Disclaimer. The Gogs project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.