FAQ - Frequently Asked Questions

General Questions

What is gityar?

gityar is a self-hosted Git service designed specifically for Iranian developers. It's a complete alternative to GitHub and GitLab.

Is gityar free?

Yes! gityar is open-source and free to use under the MIT license.

Can I self-host gityar?

Absolutely! gityar is designed to be self-hosted on your own servers.

Account & Authentication

How do I create an account?

Visit the sign-up page and fill in your username, email, and password. See Create Account for details.

Can I use LDAP or OAuth?

Yes, gityar supports LDAP, GitHub OAuth, SMTP, and PAM authentication.

How do I enable two-factor authentication?

Go to Settings → Security → Enable Two-Factor Authentication.

Repositories

How do I create a repository?

Click the "+" icon in the header and select "New Repository". See Create Repository for details.

What's the difference between public and private?

  • Public: Anyone can view the repository
  • Private: Only you and your collaborators can access it

Can I migrate from GitHub/GitLab?

Yes! Use the "Migrate Repository" option to import from GitHub, GitLab, or any Git URL.

Collaboration

How do I add collaborators?

Go to Repository Settings → Collaboration → Add Collaborators.

What are organizations?

Organizations let you manage multiple repositories and teams under one umbrella. See Organizations.

How do webhooks work?

Webhooks notify external services when events happen in your repository. See Webhooks.

Technical

What databases are supported?

gityar supports SQLite, MySQL, PostgreSQL, and TiDB.

Can I use Git LFS?

Yes, gityar supports Git Large File Storage (LFS).

Is there an API?

Yes! gityar provides a comprehensive REST API. See API Reference.

Need More Help?