{"id":23209333,"url":"https://github.com/djuuu/git-build","last_synced_at":"2025-04-05T12:10:41.762Z","repository":{"id":32847150,"uuid":"36440746","full_name":"Djuuu/git-build","owner":"Djuuu","description":"Simple automated git branch merger","archived":false,"fork":false,"pushed_at":"2019-02-04T20:17:37.000Z","size":4,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T17:59:39.805Z","etag":null,"topics":["git"],"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/Djuuu.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-05-28T13:37:55.000Z","updated_at":"2022-12-17T23:31:52.000Z","dependencies_parsed_at":"2022-08-07T18:15:34.428Z","dependency_job_id":null,"html_url":"https://github.com/Djuuu/git-build","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/Djuuu%2Fgit-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djuuu%2Fgit-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djuuu%2Fgit-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djuuu%2Fgit-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Djuuu","download_url":"https://codeload.github.com/Djuuu/git-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332609,"owners_count":20921853,"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":["git"],"created_at":"2024-12-18T18:16:29.464Z","updated_at":"2025-04-05T12:10:41.715Z","avatar_url":"https://github.com/Djuuu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# git-build\n\nThis script merges a list of branch into a defined destination branch, starting from `master`.\n\nIt can be used to build a new *release candidate* composed of several branches, with a clean git tree.\n\n## Installation\n\n* Clone The repository\n\nThen : \n* Create a symlink to the script in a directory in your path\n```bash\nln -s /path/to/git-build/git-build.sh ~/bin/git-build\n```\n\nOR\n\n* Create a git alias in your `.gitconfig`\n```ini\n[alias]\n    build = \"!bash /path/to/git-build/git-build.sh\n```\n\n## Usage\n\n### Build Configuration\n \nCreate a config file named `.gitbuild-\u003cBUILDNAME\u003e` in your project. \n\neg: `.gitbuild-preprod`\n\nThe file shoud contain the following : \n\n```bash\n# Name of the branch to build\nbuild_branch=PREPROD\n\n# Branches to merge into $build_branch\nbuild_branches[0]=some-branch-name\nbuild_branches[1]=other-branch-name\nbuild_branches[2]=branch-name-3\n# ...\n```\n\n### Launching a build\n\n```bash\ngit build \u003cBUILDNAME\u003e\n```\n\ne.g. `git build preprod`\n\nConflicts should be resolved the same way than when rebasing : \n * resolve conflicts\n * stage the fixed files\n * run `git build --continue`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjuuu%2Fgit-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjuuu%2Fgit-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjuuu%2Fgit-build/lists"}