{"id":22326509,"url":"https://github.com/thecodesmith/git-server","last_synced_at":"2025-03-26T06:12:45.956Z","repository":{"id":84776752,"uuid":"45626197","full_name":"thecodesmith/git-server","owner":"thecodesmith","description":null,"archived":false,"fork":false,"pushed_at":"2015-11-06T05:24:27.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T07:32:46.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/thecodesmith.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}},"created_at":"2015-11-05T17:04:55.000Z","updated_at":"2015-11-06T05:21:16.000Z","dependencies_parsed_at":"2023-03-13T02:27:43.411Z","dependency_job_id":null,"html_url":"https://github.com/thecodesmith/git-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodesmith%2Fgit-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodesmith%2Fgit-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodesmith%2Fgit-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodesmith%2Fgit-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodesmith","download_url":"https://codeload.github.com/thecodesmith/git-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245598317,"owners_count":20641884,"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":[],"created_at":"2024-12-04T02:17:57.110Z","updated_at":"2025-03-26T06:12:45.935Z","avatar_url":"https://github.com/thecodesmith.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Private Git Server\n\n## Initialize Server\n\nCreate a user named `git` on the server. Run the [setup script](setup/server.sh)\nfor setting up a server on Ubuntu.\n\n## Set up local SSH configuration\n\nAdd this setting to your local SSH configuration at `~/.ssh/config`:\n\n    Host tcs\n        User git\n        HostName thecodesmith.com\n\nOf course, replace the `HostName` as necessary. The `Host` name can be set to\nanything you like. I like abbreviations.\n\n## Add local SSH public key to the server's authorized keys\n\nRun this command, and enter the password created when setting up the `git` user\non the server:\n\n    ssh-copy-id tcs\n\nNote: On Mac OS X, there is no ssh-copy-id command, so an alternative is this:\n\n    cat ~/.ssh/id_rsa.pub | ssh tcs \"mkdir ~/.ssh; cat \u003e\u003e ~/.ssh/authorized_keys\"\n\n## Test Connection\n\nTest the new Git server with the command:\n\n    git-create tcs:hello-world\n\nThis should create a repo called `hello-world` on the `tcs` server. It can now be used\nlike any other Git remote, for example pushing from a local repository:\n\n    git remote add private tcs:hello-world\n    git push -u private master\n\nOr cloning the repository:\n\n    git clone tcs:hello-world\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodesmith%2Fgit-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodesmith%2Fgit-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodesmith%2Fgit-server/lists"}