{"id":3937,"date":"2026-11-24T16:36:18","date_gmt":"2026-11-24T07:36:18","guid":{"rendered":"https:\/\/qol-kk.com\/wp2\/?p=3937"},"modified":"2026-11-24T16:36:18","modified_gmt":"2026-11-24T07:36:18","slug":"20261120-plan103","status":"publish","type":"post","link":"https:\/\/qol-kk.com\/wp2\/blog\/2026\/11\/24\/20261120-plan103\/","title":{"rendered":"Git \u306e\u30d6\u30e9\u30f3\u30c1\u6226\u7565 \u2014 GitHub Flow \u3068 Git Flow \u3092 CI\/CD \u306e\u89b3\u70b9\u3067\u6bd4\u3079\u308b"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>\u30c1\u30fc\u30e0\u3067 Git \u3092\u4f7f\u3044\u59cb\u3081\u308b\u3068\u3001\u65e9\u3044\u6bb5\u968e\u3067\u300c\u30d6\u30e9\u30f3\u30c1\u3092\u3069\u3046\u5207\u308b\u304b\u300d\u3092\u6c7a\u3081\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u9078\u629e\u80a2\u306f\u6b21\u306e2\u3064\u3067\u3059\u3002<\/p>\n<ul>\n<li><strong>Git Flow<\/strong>: 2010\u5e74\u306b Vincent Driessen \u6c0f\u304c\u300cA successful Git branching model\u300d\u3067\u63d0\u6848\u3057\u305f\u30e2\u30c7\u30eb<\/li>\n<li><strong>GitHub Flow<\/strong>: 2011\u5e74\u306b Scott Chacon \u6c0f\u304c\u7d39\u4ecb\u3057\u3001GitHub \u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u3082\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u30e2\u30c7\u30eb<\/li>\n<\/ul>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30012\u3064\u306e\u30e2\u30c7\u30eb\u306e\u4ed5\u7d44\u307f\u30fb\u30b3\u30de\u30f3\u30c9\u4f8b\u30fbCI\/CD\uff08GitHub Actions\uff09\u3078\u306e\u843d\u3068\u3057\u8fbc\u307f\u65b9\u3092\u4e26\u3079\u3001<strong>\u3069\u3093\u306a\u30d7\u30ed\u30c0\u30af\u30c8\u306b\u3069\u3061\u3089\u304c\u5408\u3046\u304b<\/strong>\u3092\u5224\u65ad\u3067\u304d\u308b\u3088\u3046\u306b\u6574\u7406\u3057\u307e\u3059\u3002\u5185\u5bb9\u306f\u516c\u958b\u60c5\u5831\u3068\u4e00\u822c\u7684\u306a\u904b\u7528\u30d1\u30bf\u30fc\u30f3\u306b\u3082\u3068\u3065\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0<\/h2>\n<ul>\n<li>Git 2.23 \u4ee5\u964d\uff08<code>git switch<\/code> \u3092\u4f7f\u7528\uff09<\/li>\n<li>GitHub \u3068 GitHub Actions \u3092\u4f7f\u3046\u60f3\u5b9a<\/li>\n<li><code>gh<\/code>\uff08GitHub CLI\uff09\u306f\u4efb\u610f\u3002Web UI \u3067\u3082\u540c\u3058\u64cd\u4f5c\u304c\u3067\u304d\u307e\u3059<\/li>\n<\/ul>\n<h2>Git Flow \u306e\u4ed5\u7d44\u307f<\/h2>\n<p>\u9577\u304f\u6b8b\u308b\u30d6\u30e9\u30f3\u30c12\u672c\u3068\u3001\u4e00\u6642\u7684\u306a\u30d6\u30e9\u30f3\u30c13\u7a2e\u985e\u3067\u69cb\u6210\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d6\u30e9\u30f3\u30c1<\/th>\n<th>\u5bff\u547d<\/th>\n<th>\u6d3e\u751f\u5143<\/th>\n<th>\u30de\u30fc\u30b8\u5148<\/th>\n<th>\u5f79\u5272<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>main<\/code><\/td>\n<td>\u6c38\u7d9a<\/td>\n<td>\u2014<\/td>\n<td>\u2014<\/td>\n<td>\u30ea\u30ea\u30fc\u30b9\u6e08\u307f\u30b3\u30fc\u30c9\u3002\u30bf\u30b0\u3067\u7248\u3092\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td><code>develop<\/code><\/td>\n<td>\u6c38\u7d9a<\/td>\n<td><code>main<\/code><\/td>\n<td>\u2014<\/td>\n<td>\u6b21\u306e\u30ea\u30ea\u30fc\u30b9\u306b\u5411\u3051\u305f\u7d71\u5408\u5148<\/td>\n<\/tr>\n<tr>\n<td><code>feature\/*<\/code><\/td>\n<td>\u4e00\u6642<\/td>\n<td><code>develop<\/code><\/td>\n<td><code>develop<\/code><\/td>\n<td>\u6a5f\u80fd\u958b\u767a<\/td>\n<\/tr>\n<tr>\n<td><code>release\/*<\/code><\/td>\n<td>\u4e00\u6642<\/td>\n<td><code>develop<\/code><\/td>\n<td><code>main<\/code> \u3068 <code>develop<\/code><\/td>\n<td>\u30ea\u30ea\u30fc\u30b9\u6e96\u5099<\/td>\n<\/tr>\n<tr>\n<td><code>hotfix\/*<\/code><\/td>\n<td>\u4e00\u6642<\/td>\n<td><code>main<\/code><\/td>\n<td><code>main<\/code> \u3068 <code>develop<\/code><\/td>\n<td>\u672c\u756a\u306e\u7dca\u6025\u4fee\u6b63<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre class=\"lang:default decode:true\">main     \u2500\u2500\u25cf\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25cf\u2500\u2500\u2500\u2500\u2500\u2500\u25cf\u2500\u2500\u2500\u2500\n            \\               \/ \\    \/\nhotfix       \\             \/   \u25cf\u2500\u2500\u25cf  (hotfix\/1.2.1)\n              \\           \/         \\\nrelease        \\     \u25cf\u2500\u2500\u2500\u25cf           \\   (release\/1.2.0)\n                \\   \/     \\           \\\ndevelop     \u2500\u2500\u2500\u2500\u2500\u25cf\u2500\u25cf\u2500\u2500\u2500\u25cf\u2500\u2500\u2500\u25cf\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u25cf\u2500\u2500\n                    \\     \/\nfeature              \u25cf\u2500\u2500\u2500\u25cf  (feature\/login)<\/pre>\n<p>\u300c\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u300d\u3068\u3044\u3046\u884c\u70ba\u3092\u72ec\u7acb\u3057\u305f\u5de5\u7a0b\u3068\u3057\u3066\u6271\u3048\u308b\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<code>release\/*<\/code> \u3067\u30ea\u30ea\u30fc\u30b9\u5019\u88dc\u3092\u56fa\u3081\u3066\u3044\u308b\u9593\u3082\u3001<code>develop<\/code> \u3067\u306f\u6b21\u306e\u7248\u306e\u958b\u767a\u3092\u9032\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>GitHub Flow \u306e\u4ed5\u7d44\u307f<\/h2>\n<p>\u30eb\u30fc\u30eb\u306f\u57fa\u672c\u7684\u306b1\u3064\u3060\u3051\u3067\u3059\u3002<strong><code>main<\/code> \u306f\u5e38\u306b\u30c7\u30d7\u30ed\u30a4\u53ef\u80fd\u306a\u72b6\u614b\u306b\u4fdd\u3064<\/strong>\u3002<\/p>\n<ol>\n<li><code>main<\/code> \u304b\u3089\u8aac\u660e\u7684\u306a\u540d\u524d\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u5207\u308b<\/li>\n<li>\u30b3\u30df\u30c3\u30c8\u3057\u3066 push \u3059\u308b<\/li>\n<li>Pull Request \u3092\u4f5c\u308b<\/li>\n<li>\u30ec\u30d3\u30e5\u30fc\u3068 CI \u3092\u901a\u3059<\/li>\n<li><code>main<\/code> \u306b\u30de\u30fc\u30b8\u3059\u308b\uff08\u30c7\u30d7\u30ed\u30a4\u306f\u30de\u30fc\u30b8\u306e\u524d\u5f8c\u3069\u3061\u3089\u3067\u3082\u904b\u7528\u3067\u304d\u308b\uff09<\/li>\n<li>\u30d6\u30e9\u30f3\u30c1\u3092\u524a\u9664\u3059\u308b<\/li>\n<\/ol>\n<pre class=\"lang:default decode:true\">main     \u2500\u2500\u25cf\u2500\u2500\u2500\u2500\u2500\u2500\u25cf\u2500\u2500\u2500\u2500\u2500\u2500\u25cf\u2500\u2500\u2500\u2500\u2500\u2500\u25cf\u2500\u2500\u2500\u2500\n            \\    \/  \\    \/  \\   \/\n             \u25cf\u2500\u2500\u25cf    \u25cf\u2500\u2500\u25cf    \u25cf\u2500\u25cf<\/pre>\n<p>\u9577\u304f\u6b8b\u308b\u30d6\u30e9\u30f3\u30c1\u306f <code>main<\/code> \u3060\u3051\u3002\u30ea\u30ea\u30fc\u30b9\u3068\u306f\u300c<code>main<\/code> \u306b\u30de\u30fc\u30b8\u3055\u308c\u305f\u3082\u306e\u300d\u3067\u3042\u308a\u3001\u5225\u306e\u5de5\u7a0b\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2>\u6bd4\u8f03\u8868<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u89b3\u70b9<\/th>\n<th>Git Flow<\/th>\n<th>GitHub Flow<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u9577\u304f\u6b8b\u308b\u30d6\u30e9\u30f3\u30c1<\/td>\n<td><code>main<\/code> + <code>develop<\/code><\/td>\n<td><code>main<\/code> \u306e\u307f<\/td>\n<\/tr>\n<tr>\n<td>\u30ea\u30ea\u30fc\u30b9\u306e\u5358\u4f4d<\/td>\n<td>\u7248\u3092\u307e\u3068\u3081\u3066\u51fa\u3059<\/td>\n<td>PR \u3054\u3068\u306b\u968f\u6642<\/td>\n<\/tr>\n<tr>\n<td>\u76f8\u6027\u306e\u3088\u3044\u30ea\u30ea\u30fc\u30b9\u983b\u5ea6<\/td>\n<td>\u6570\u9031\u301c\u6570\u304b\u6708\u306b1\u56de<\/td>\n<td>1\u65e5\u306b\u6570\u56de\u301c\u6bce\u65e5<\/td>\n<\/tr>\n<tr>\n<td>\u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e26\u884c\u4fdd\u5b88<\/td>\n<td>\u3084\u308a\u3084\u3059\u3044<\/td>\n<td>\u60f3\u5b9a\u3057\u3066\u3044\u306a\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u5b66\u7fd2\u30b3\u30b9\u30c8<\/td>\n<td>\u9ad8\u3044<\/td>\n<td>\u4f4e\u3044<\/td>\n<\/tr>\n<tr>\n<td>CI\/CD \u3078\u306e\u4f9d\u5b58<\/td>\n<td>\u5fc5\u9808\u3067\u306f\u306a\u3044<\/td>\n<td>\u81ea\u52d5\u30c6\u30b9\u30c8\u3068\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u304c\u307b\u307c\u5fc5\u9808<\/td>\n<\/tr>\n<tr>\n<td>\u672a\u5b8c\u6210\u6a5f\u80fd\u306e\u6271\u3044<\/td>\n<td><code>develop<\/code> \u306b\u6e9c\u3081\u3066\u304a\u3051\u308b<\/td>\n<td>\u30d5\u30a3\u30fc\u30c1\u30e3\u30fc\u30d5\u30e9\u30b0\u3067\u96a0\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u5178\u578b\u7684\u306a\u4e8b\u6545<\/td>\n<td><code>develop<\/code> \u3078\u306e\u623b\u3057\u5fd8\u308c<\/td>\n<td>\u30c6\u30b9\u30c8\u4e0d\u8db3\u306e\u307e\u307e\u30de\u30fc\u30b8<\/td>\n<\/tr>\n<tr>\n<td>\u5411\u3044\u3066\u3044\u308b\u3082\u306e<\/td>\n<td>\u30d1\u30c3\u30b1\u30fc\u30b8\u914d\u5e03\u3001\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u3001\u30aa\u30f3\u30d7\u30ec\u7d0d\u54c1<\/td>\n<td>Web \u30b5\u30fc\u30d3\u30b9\u3001SaaS\u3001\u793e\u5185\u30c4\u30fc\u30eb<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Git Flow \u306e\u64cd\u4f5c\u4f8b<\/h2>\n<p><code>git-flow<\/code> \u62e1\u5f35\u3082\u3042\u308a\u307e\u3059\u304c\uff08\u30aa\u30ea\u30b8\u30ca\u30eb\u7248\u306f\u66f4\u65b0\u304c\u6b62\u307e\u3063\u3066\u304a\u308a\u3001AVH \u7248\u306a\u3069\u306e\u30d5\u30a9\u30fc\u30af\u304c\u3042\u308a\u307e\u3059\uff09\u3001\u4ed5\u7d44\u307f\u304c\u898b\u3048\u308b\u3088\u3046\u306b\u7d20\u306e Git \u3067\u66f8\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\"># develop \u3092\u4f5c\u308b\ngit switch main\ngit switch -c develop\ngit push -u origin develop\n\n# \u6a5f\u80fd\u958b\u767a\ngit switch -c feature\/login develop\n# ... \u5b9f\u88c5\u30fb\u30b3\u30df\u30c3\u30c8 ...\ngit switch develop\ngit merge --no-ff feature\/login\ngit branch -d feature\/login\n\n# \u30ea\u30ea\u30fc\u30b9\u6e96\u5099\ngit switch -c release\/1.2.0 develop\ngit switch main\ngit merge --no-ff release\/1.2.0\ngit tag -a v1.2.0 -m \"Release 1.2.0\"\ngit switch develop\ngit merge --no-ff release\/1.2.0   # \u623b\u3057\u5fd8\u308c\u6ce8\u610f\ngit branch -d release\/1.2.0\n\n# \u7dca\u6025\u4fee\u6b63\ngit switch -c hotfix\/1.2.1 main\ngit switch main\ngit merge --no-ff hotfix\/1.2.1\ngit tag -a v1.2.1 -m \"Hotfix 1.2.1\"\ngit switch develop\ngit merge --no-ff hotfix\/1.2.1    # \u3053\u3053\u3082\u623b\u3057\u5fd8\u308c\u6ce8\u610f\ngit branch -d hotfix\/1.2.1\n\ngit push origin main develop --tags<\/pre>\n<p>Driessen \u6c0f\u306f2020\u5e74\u306b\u5143\u8a18\u4e8b\u3078\u8ffd\u8a18\u3057\u3001\u7d99\u7d9a\u7684\u306b\u30c7\u30ea\u30d0\u30ea\u30fc\u3059\u308b Web \u30a2\u30d7\u30ea\u306a\u3089 GitHub Flow \u306e\u3088\u3046\u306a\u5358\u7d14\u306a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u5408\u3046\u5834\u5408\u3082\u3042\u308b\u3001\u3068\u3044\u3046\u8da3\u65e8\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>GitHub Flow \u306e\u64cd\u4f5c\u4f8b<\/h2>\n<pre class=\"lang:default decode:true\">git switch main\ngit pull --ff-only\ngit switch -c feature\/login\n# ... \u5b9f\u88c5\u30fb\u30b3\u30df\u30c3\u30c8 ...\ngit push -u origin feature\/login\n\ngh pr create --base main --title \"\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u8ffd\u52a0\" --body \"\u6982\u8981\u30fb\u78ba\u8a8d\u624b\u9806\u3092\u8a18\u8f09\"\ngh pr merge --squash --delete-branch<\/pre>\n<p>PR \u304c\u5c0f\u3055\u304f\u306a\u308a\u3084\u3059\u3044\u306e\u3067\u30011PR \u30921\u30b3\u30df\u30c3\u30c8\u306b\u307e\u3068\u3081\u308b squash \u30de\u30fc\u30b8\u3092\u9078\u3076\u30c1\u30fc\u30e0\u3092\u3088\u304f\u898b\u304b\u3051\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u88c5\u4f8b\uff1aGitHub Actions \u3078\u306e\u843d\u3068\u3057\u8fbc\u307f<\/h2>\n<p>\u30d6\u30e9\u30f3\u30c1\u6226\u7565\u306f\u300c\u3069\u306e\u30d6\u30e9\u30f3\u30c1\u3078\u306e push \u3067\u4f55\u304c\u8d77\u304d\u308b\u304b\u300d\u3068\u3057\u3066\u3001\u305d\u306e\u307e\u307e CI\/CD \u306e\u5b9a\u7fa9\u306b\u8868\u308c\u307e\u3059\u3002<\/p>\n<h3>GitHub Flow \u5411\u3051<\/h3>\n<pre class=\"lang:default decode:true\">name: CI\/CD\non:\n  pull_request:\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\/checkout@v4\n      - run: make test\n\n  deploy:\n    needs: test\n    if: github.event_name == 'push' &amp;&amp; github.ref == 'refs\/heads\/main'\n    runs-on: ubuntu-latest\n    environment: production\n    steps:\n      - uses: actions\/checkout@v4\n      - run: make deploy<\/pre>\n<p>PR \u3067\u306f <code>test<\/code> \u3060\u3051\u304c\u52d5\u304d\u3001<code>main<\/code> \u3078\u306e\u30de\u30fc\u30b8\u3067 <code>test<\/code> \u2192 <code>deploy<\/code> \u3068\u9032\u307f\u307e\u3059\u3002<\/p>\n<h3>Git Flow \u5411\u3051<\/h3>\n<pre class=\"lang:default decode:true\">name: CI\/CD\non:\n  pull_request:\n    branches: [develop, main]\n  push:\n    branches: [develop, 'release\/**']\n    tags: ['v*']\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\/checkout@v4\n      - run: make test\n\n  deploy-staging:\n    needs: test\n    if: github.ref == 'refs\/heads\/develop' || startsWith(github.ref, 'refs\/heads\/release\/')\n    runs-on: ubuntu-latest\n    environment: staging\n    steps:\n      - uses: actions\/checkout@v4\n      - run: make deploy ENV=staging\n\n  deploy-production:\n    needs: test\n    if: startsWith(github.ref, 'refs\/tags\/v')\n    runs-on: ubuntu-latest\n    environment: production\n    steps:\n      - uses: actions\/checkout@v4\n      - run: make deploy ENV=production<\/pre>\n<p><code>develop<\/code> \/ <code>release\/*<\/code> \u306e push \u3067\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3078\u3001<code>v*<\/code> \u30bf\u30b0\u3067\u672c\u756a\u3078\u3002\u300c\u672c\u756a\u306b\u51fa\u3059\u306e\u306f\u30bf\u30b0\u3092\u6253\u3063\u305f\u3068\u304d\u300d\u3068\u660e\u793a\u3067\u304d\u307e\u3059\u3002<code>make test<\/code> \/ <code>make deploy<\/code> \u306f\u5b9f\u969b\u306e\u30b3\u30de\u30f3\u30c9\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n<pre class=\"lang:default decode:true\"># \u5c65\u6b74\u306e\u5f62\u3092\u898b\u308b\ngit log --graph --oneline --all -n 50\n\n# Git Flow: main \u306b\u3042\u3063\u3066 develop \u306b\u306a\u3044\u30b3\u30df\u30c3\u30c8\uff08\u623b\u3057\u5fd8\u308c\u306e\u691c\u77e5\uff09\ngit log --oneline develop..main\n\n# \u30de\u30fc\u30b8\u6e08\u307f\u306e\u307e\u307e\u6b8b\u3063\u3066\u3044\u308b\u30d6\u30e9\u30f3\u30c1\ngit branch --merged main\ngit branch -r --merged origin\/main<\/pre>\n<p><code>git log develop..main<\/code> \u304c\u4f55\u304b\u51fa\u529b\u3057\u305f\u3089\u3001<code>release\/*<\/code> \u304b <code>hotfix\/*<\/code> \u3092 <code>develop<\/code> \u306b\u623b\u3057\u5fd8\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u6ce8\u610f\u70b9<\/h2>\n<h3>GitHub Flow \u3092\u9078\u3076\u3068\u304d<\/h3>\n<ul>\n<li>\u300c<code>main<\/code> \u306f\u5e38\u306b\u30c7\u30d7\u30ed\u30a4\u53ef\u80fd\u300d\u3092\u652f\u3048\u308b\u306e\u306f CI\u3002\u81ea\u52d5\u30c6\u30b9\u30c8\u304c\u8584\u3044\u3068\u6210\u308a\u7acb\u305f\u306a\u3044<\/li>\n<li><code>main<\/code> \u306b\u30d6\u30e9\u30f3\u30c1\u4fdd\u8b77\uff08\u76f4\u63a5 push \u7981\u6b62\u30fb\u5fc5\u9808\u30b9\u30c6\u30fc\u30bf\u30b9\u30c1\u30a7\u30c3\u30af\u30fb\u30ec\u30d3\u30e5\u30fc\u5fc5\u9808\uff09\u3092\u8a2d\u5b9a\u3059\u308b<\/li>\n<li>\u672a\u5b8c\u6210\u306e\u6a5f\u80fd\u306f\u30d5\u30a3\u30fc\u30c1\u30e3\u30fc\u30d5\u30e9\u30b0\u3067\u96a0\u3057\u3001\u9577\u547d\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u3089\u306a\u3044<\/li>\n<li>\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u304c\u5fc5\u8981\u306a\u3089\u3001Environments \u306e\u627f\u8a8d\u30b9\u30c6\u30c3\u30d7\u3084 PR \u3054\u3068\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u74b0\u5883\u3067\u88dc\u3046<\/li>\n<\/ul>\n<h3>Git Flow \u3092\u9078\u3076\u3068\u304d<\/h3>\n<ul>\n<li><code>release<\/code> \/ <code>hotfix<\/code> \u306e\u623b\u3057\u5fd8\u308c\u3092 CI \u3067\u691c\u77e5\u3059\u308b\u306a\u3069\u3001\u4ed5\u7d44\u307f\u3067\u9632\u3050<\/li>\n<li><code>feature\/*<\/code> \u3092\u9577\u304f\u653e\u7f6e\u3057\u306a\u3044<\/li>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u30d6\u30e9\u30f3\u30c1\u3092 <code>develop<\/code> \u306b\u3057\u3066\u3001PR \u306e\u30de\u30fc\u30b8\u5148\u306e\u53d6\u308a\u9055\u3048\u3092\u9632\u3050<\/li>\n<li>\u30ea\u30ea\u30fc\u30b9\u304c\u983b\u7e41\u306a\u3089\u5de5\u7a0b\u304c\u91cd\u304f\u306a\u308a\u3059\u304e\u308b<\/li>\n<\/ul>\n<h3>\u305d\u306e\u4ed6\u306e\u9078\u629e\u80a2<\/h3>\n<ul>\n<li><strong>GitLab Flow<\/strong>: GitHub Flow \u306b\u74b0\u5883\u30d6\u30e9\u30f3\u30c1\u3084\u30ea\u30ea\u30fc\u30b9\u30d6\u30e9\u30f3\u30c1\u3092\u8db3\u3057\u305f\u4e2d\u9593\u30e2\u30c7\u30eb<\/li>\n<li><strong>\u30c8\u30e9\u30f3\u30af\u30d9\u30fc\u30b9\u958b\u767a<\/strong>: \u3054\u304f\u77ed\u547d\u306a\u30d6\u30e9\u30f3\u30c1\u3067 <code>main<\/code> \u3078\u306e\u7d71\u5408\u3092\u7e70\u308a\u8fd4\u3059\u3001GitHub Flow \u3092\u3055\u3089\u306b\u7a81\u304d\u8a70\u3081\u305f\u5f62<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<ul>\n<li><strong>Git Flow<\/strong> \u306f\u300c\u7248\u3092\u307e\u3068\u3081\u3066\u51fa\u3059\u30fb\u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4fdd\u5b88\u3059\u308b\u300d\u30d7\u30ed\u30c0\u30af\u30c8\u5411\u3051<\/li>\n<li><strong>GitHub Flow<\/strong> \u306f\u300c\u968f\u6642\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u300dWeb \u30b5\u30fc\u30d3\u30b9\u5411\u3051\u3002CI\/CD \u3068\u30d6\u30e9\u30f3\u30c1\u4fdd\u8b77\u304c\u524d\u63d0<\/li>\n<li>\u3069\u3061\u3089\u3092\u9078\u3076\u304b\u306f\u597d\u307f\u3067\u306f\u306a\u304f\u3001<strong>\u30ea\u30ea\u30fc\u30b9\u983b\u5ea6\u30fb\u4fdd\u5b88\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u6570\u30fbCI\/CD \u306e\u6210\u719f\u5ea6<\/strong>\u3067\u6c7a\u307e\u308b<\/li>\n<li>\u8ff7\u3063\u305f\u3089 GitHub Flow \u304b\u3089\u59cb\u3081\u3001\u5fc5\u8981\u306b\u306a\u3063\u305f\u6642\u70b9\u3067\u30ea\u30ea\u30fc\u30b9\u30d6\u30e9\u30f3\u30c1\u3084\u30bf\u30b0\u904b\u7528\u3092\u8db3\u3057\u3066\u3044\u304f\u306e\u304c\u73fe\u5b9f\u7684<\/li>\n<\/ul>\n<h2>\u53c2\u8003<\/h2>\n<ul>\n<li>Vincent Driessen\u300cA successful Git branching model\u300d<\/li>\n<li>Scott Chacon\u300cGitHub Flow\u300d<\/li>\n<li>GitHub Docs\u300cGitHub flow\u300d<\/li>\n<li>GitLab Docs\u300cGitLab Flow\u300d<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u30c1\u30fc\u30e0\u3067 Git \u3092\u4f7f\u3044\u59cb\u3081\u308b\u3068\u3001\u65e9\u3044\u6bb5\u968e\u3067\u300c\u30d6\u30e9\u30f3\u30c1\u3092\u3069\u3046\u5207\u308b\u304b\u300d\u3092\u6c7a\u3081\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u9078\u629e\u80a2\u306f\u6b21\u306e2\u3064\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":3936,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1179],"tags":[1172,1194,166,1188],"class_list":["post-3937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ci-cd","tag-ci-cd","tag-git","tag-model","tag-1188"],"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_publicize_connections":[],"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/qol-kk.com\/wp2\/wp-content\/uploads\/2026\/11\/20261120-plan103-thumbnail.jpg","_links":{"self":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/comments?post=3937"}],"version-history":[{"count":1,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3937\/revisions"}],"predecessor-version":[{"id":3948,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3937\/revisions\/3948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media\/3936"}],"wp:attachment":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media?parent=3937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/categories?post=3937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/tags?post=3937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}