Usage and Storage
GitCode provides resource quota management for each user, allowing you to view and monitor your Git repository storage space, container usage, Git LFS storage, number of projects, and other resources in real time.
提示
All usage statistics are calculated on a calendar month basis (reset at midnight on the first day of each month).
Accessing Usage and Storage
You can view your usage and storage information by navigating to "Personal Settings" -> "Data Management" -> "Usage and Storage". On this page, you can view detailed resource usage in chart form.
Resource Statistics Methods
In resource statistics, different types of resources use corresponding calculation methods based on their specific characteristics. Below are the contents and calculation rules for each type of resource:
Resource Type | Statistics Content | Calculation Method |
---|---|---|
Git Repository Storage | Total storage of code in personal repositories | Includes code volume of all branches Includes all historical commit records Does not include large files stored in Git LFS |
Container Usage | Computing resources consumed by running containers | Container runtime hours × Number of CPU cores Example: A 2-core container running for 3 hours = 6 core-hours |
Git LFS Storage | Total size of large files using Git LFS | Total size of all LFS-tracked files Includes all versions of the files |
Project Count | Total number of projects you have created | Projects created by individuals Includes both public and private projects |
Monitoring and Alerts
- When resource usage reaches 80% of the quota, the system will send a reminder.
- When it reaches 95%, a warning notification will be sent.
注意
- Regularly check resource usage to avoid exceeding the limit.
- For large files, it is recommended to use Git LFS storage.