{"id":16811898,"url":"https://github.com/qishibo/git-server","last_synced_at":"2025-04-11T01:42:33.824Z","repository":{"id":72149481,"uuid":"128149175","full_name":"qishibo/git-server","owner":"qishibo","description":"Git Server For Multi-User, Running In Docker, Just Like A Simple Gitlab ~","archived":false,"fork":false,"pushed_at":"2019-06-26T09:32:23.000Z","size":3,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T22:51:15.447Z","etag":null,"topics":["docker","git-server","multi-user"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qishibo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-04-05T02:18:46.000Z","updated_at":"2023-01-10T03:19:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f577b1e-0e36-4cfb-a042-38ff70660c19","html_url":"https://github.com/qishibo/git-server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Fgit-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Fgit-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Fgit-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qishibo%2Fgit-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qishibo","download_url":"https://codeload.github.com/qishibo/git-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248327535,"owners_count":21085253,"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":["docker","git-server","multi-user"],"created_at":"2024-10-13T10:20:00.243Z","updated_at":"2025-04-11T01:42:33.812Z","avatar_url":"https://github.com/qishibo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Server For Multi-User\n\n\u003e Running in docker, just like a simple gitlab. The user created is a real linux user but cannot login. Different users' repository cannot be accessed to each other.\n\n## Install\n\n```bash\ndocker run -itd  -p2022:22 --name git-server qii404/git-server:latest\n```\n\n## RUN\n\n```bash\n# create a user\ndocker exec git-server create_user username password\n\n# create a  repository for a user\ndocker exec git-server create_project username repository\n\n# clone\ngit clone ssh://username@127.0.0.1:2022/git_codes/username/repository.git\n# enter password\n\n# push\ngit push origin master\n```\n\n\nYou can also run commands inside docker, such as:\n\n```bash\n# in docker\ndocker exec -it git-server sh\n\n# create a user\ncreate_user username password\n\n# create a repository for a user\ncreate_project username repository\n```\n\n## Tips\n\nIf you want to exec `ssh username@127.0.0.1 -p2022` to login git server, you will get this error:\n\n```bash\n\u003e You Wanna Login ?? No Way!!\n\u003e fatal: Interactive git shell is not enabled.\n\u003e hint: ~/git-shell-commands should exist and have read and execute access.\n\u003e Connection to 127.0.0.1 closed.\n```\n\n-------\nContact me in [Weibo](https://weibo.com/shiboooo), or [qii404.me](https://qii404.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqishibo%2Fgit-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqishibo%2Fgit-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqishibo%2Fgit-server/lists"}