{"id":18592432,"url":"https://github.com/steeve/git-fast-import-go","last_synced_at":"2025-05-16T10:10:02.395Z","repository":{"id":31117092,"uuid":"34676608","full_name":"steeve/git-fast-import-go","owner":"steeve","description":null,"archived":false,"fork":false,"pushed_at":"2015-04-27T16:10:34.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T11:01:21.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/steeve.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-04-27T16:03:22.000Z","updated_at":"2015-04-27T16:10:34.000Z","dependencies_parsed_at":"2022-09-09T03:51:17.463Z","dependency_job_id":null,"html_url":"https://github.com/steeve/git-fast-import-go","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/steeve%2Fgit-fast-import-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steeve%2Fgit-fast-import-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steeve%2Fgit-fast-import-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steeve%2Fgit-fast-import-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steeve","download_url":"https://codeload.github.com/steeve/git-fast-import-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509473,"owners_count":22082892,"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-11-07T01:08:38.274Z","updated_at":"2025-05-16T10:10:02.377Z","avatar_url":"https://github.com/steeve.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-fast-import-go\n\nThis is a package to easily create streams for `git fast-import`.\n\n## How to get\n\n```\n$ go get https://github.com/steeve/git-fast-import-go\n```\n\n## How to use\n\n```go\n    committer := \u0026gitfastimport.Signature{\n        Name:  \"Foo Bar\",\n        Email: \"foo@bar.com\",\n        When: time.Now()\n    }\n\n    gitfastimport.WriteCommit(os.Stdout, \"refs/heads/master\", \"git message\", Committer, Committer)\n    gitfastimport.WriteFileModify(os.Stdout, 644, \"myfile.txt\")\n    gitfastimport.WriteDataBegin(os.Stdout)\n    os.Stdout.Write([]byte(\"File content\"))\n    gitfastimport.WriteDataEnd(os.Stdout)\n```\n\nThen run:\n```\n$ go run program.go | git fast-import\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteeve%2Fgit-fast-import-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteeve%2Fgit-fast-import-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteeve%2Fgit-fast-import-go/lists"}