Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

(自分流)Gitの運用ルール

4.800 Aufrufe

Veröffentlicht am

私が行っているGitの運用ルールをまとめました。

少人数、非エンジニアのメンバーが多い、静的なサイトが多いという点があり、比較的ブランチやフローの少ないルールにしています。

武井絵利菜@skyguild
http://skyguild.jp

Veröffentlicht in: Technologie
  • accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ,Download or read Ebooks here ... ......................................................................................................................... Download FULL PDF EBOOK here { https://urlzs.com/UABbn }
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

(自分流)Gitの運用ルール

  1. 1. ご注意 ・筆者が「こうやっていた」「こんな風にやるといいと思う」という運用 ルールですので「Git では必ずこうしなくてはならない」というもので はありません。 ・プロジェクトの要件やチーム体制に応じて、柔軟にご調整ください。 ※筆者の場合 少人数、非エンジニアのメンバーが多い、静的なサイトが多い という点があり、比較的ブランチやフローの少ないルールにしています。
  2. 2. ブランチ構成と各ブランチの役割 master - 本番(Production)環境用 直接作業を行わないブランチ (トピックブランチを merge するのみ)staging - 確認(Staging)環境用 topic_branches/ 任意の名前  - 作業を行うブランチ
  3. 3. 作業の流れ master(HEAD) staging ローカル master staging リモート 作業開始前に最新の「master」ブランチを pull する pull
  4. 4. 作業の流れ master(HEAD) staging topic_branches/ branche_name ローカル master staging リモート 「master」ブランチからトピックブランチを作成 ( 作業内容のわかる任意のブランチ名 ) new branch
  5. 5. 作業の流れ master staging topic_branches/ branche_name(HEAD) ローカル master staging リモート トピックブランチ上で作業して commit commit
  6. 6. 作業の流れ master staging(HEAD) topic_branches/ branche_name ローカル master staging リモート トピックブランチ上で作業が完了したら、 「staging」ブランチに merge merge
  7. 7. 作業の流れ ローカル master staging リモート 「staging」ブランチに push したら、Staging 環境へ更新 内容を反映 (deploy、FTP アップなど ) Staging 環境 push deploy master staging(HEAD) topic_branches/ branche_name
  8. 8. 作業の流れ ローカル master staging リモート 公開 OK の確認がとれたものからトピックブランチを 「master」ブランチへ merge master(HEAD) staging topic_branches/ branche_name merge
  9. 9. 作業の流れ ローカル master staging リモート 「master」ブランチに push したら、Production 環境へ 更新内容を反映 (deploy、FTP アップなど ) Production 環境 push deploy master(HEAD) staging topic_branches/ branche_name
  10. 10. 作業の流れ ローカル master staging リモート 公開後、問題なければトピックブランチを削除 remove master(HEAD) staging topic_branches/ branche_name
  11. 11. 作業の流れ ローカル master staging リモート 「master」ブランチから、タグを作成しリモートへ publish master(HEAD) staging yyyy-mm/ yyyy-mm-dd_ 連番 new tag publish
  12. 12. 作業の注意点 ・「staging」ブランチ上にはまだ公開できない commit が 含まれている可能性があるので、「staging」を「master」 に直接 merge しない。 ・必ずトピックブランチを master に merge する。 ・もし、トピックブランチを作成せずに作業してしまった時は、 CherryPick で必要な commit のみ抽出する。

×