{"id":15652234,"url":"https://github.com/linuxsuren/cgit","last_synced_at":"2025-10-24T01:34:11.117Z","repository":{"id":37657497,"uuid":"318674164","full_name":"LinuxSuRen/cgit","owner":"LinuxSuRen","description":"cgit is a tiny git tool for Chinese developers. cgit can clone code from a mirror of GitHub.","archived":false,"fork":false,"pushed_at":"2023-05-12T12:41:38.000Z","size":40837,"stargazers_count":6,"open_issues_count":13,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T19:36:17.591Z","etag":null,"topics":["chinese","git","git-extension","git-wrapper","github-mirrors","mirror"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinuxSuRen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-05T01:17:18.000Z","updated_at":"2023-05-16T06:04:47.000Z","dependencies_parsed_at":"2024-06-19T11:15:17.399Z","dependency_job_id":"730866da-b0a0-4244-a68d-5ef65ef7f955","html_url":"https://github.com/LinuxSuRen/cgit","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":0.6,"last_synced_commit":"e65f99117d6409e4723199fe61d6ff716445bfee"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fcgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fcgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fcgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinuxSuRen%2Fcgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinuxSuRen","download_url":"https://codeload.github.com/LinuxSuRen/cgit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251775068,"owners_count":21641758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chinese","git","git-extension","git-wrapper","github-mirrors","mirror"],"created_at":"2024-10-03T12:41:49.079Z","updated_at":"2025-10-24T01:34:11.043Z","avatar_url":"https://github.com/LinuxSuRen.png","language":"Go","readme":"[![](https://goreportcard.com/badge/linuxsuren/cgit)](https://goreportcard.com/report/linuxsuren/cgit)\n[![](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://godoc.org/github.com/linuxsuren/cgit)\n[![Contributors](https://img.shields.io/github/contributors/linuxsuren/cgit.svg)](https://github.com/linuxsuren/cgit/graphs/contributors)\n[![GitHub release](https://img.shields.io/github/release/linuxsuren/cgit.svg?label=release)](https://github.com/linuxsuren/cgit/releases/latest)\n![GitHub All Releases](https://img.shields.io/github/downloads/linuxsuren/cgit/total)\n\ncgit is a wrapper of git.\n\n# Features\n\n* Clone a repo from GitHub without the whole URL\n* GitHub proxy transparent support\n* Git command alias support \n\n## Mirror\n\n`cgit` can set a mirror address for you if it's very slow with fetching data from GitHub.\n\nRun this command `cgit mirror` in your local git repository directory, \nit'll change the fetch address to `github.com.cnpmjs.org`. Reversing it is very easy, \njust run command `cigt mirror --enable=false`.\n\n# Install\n\n```\nbrew install linuxsuren/linuxsuren/cgit\n```\n\ncgit is fully compatible with git. So you make an alias for it. Add the following line into you shell profile:\n\n`alias git='cgit'`\n\nFor bash users, you edit it via: `vim ~/.bashrc`\n\nFor zsh users, you can edit via: `vim ~/.zshrc`\n\n# Get started\n\n## Clone \n\n`cgit clone linuxsuren/cgit`\n\n## GitHub Proxy\n\nSometimes it's very slow when clone the code from GitHub. So cgit will clone it by [a GitHub proxy](http://github.com.cnpmjs.org/).\n\n## Alias\n\nAdd a command alias: `cgit alias set cm 'checkout master'`\n\nUse an alias: `cgit cm`\n\nList all alias commands: `cgit alias list`\n\n# Release\n\nThis project can be released via [linuxsuren-versions](https://github.com/linuxsuren/linuxsuren-versions).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxsuren%2Fcgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxsuren%2Fcgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxsuren%2Fcgit/lists"}