#author("2024-04-10T20:40:23+09:00","default:irrp","irrp")
#author("2024-04-12T14:06:33+09:00","default:irrp","irrp")
→バージョン管理ツール

→AWS CodeCommit関連

→CI/CD ←GitHub Actions/GitLabに関してはこちら


#contents


*サブトピック [#y9256163]
-Gitコマンド

-GitHub関連


*Tipsなど [#j2f42825]
-[[VSCodeでGitのコミットを楽に整理して、レビュワーに「コイツできる」と思わせよう。>https://zenn.dev/levtech/articles/03850f1060866a]] 2024.4

-[[「mainブランチ消しちゃったみたいでぇ……」 | レコチョクのエンジニアブログ>https://techblog.recochoku.jp/10326]] 2024.3

-[[Git hooksを使ってコミット時のルールを共有したい #Git - Qiita>https://qiita.com/tanahashi_Sig/items/394f747fed08acfacc90]] 2024.2

-[[GitHubでパスワード認証廃止による認証エラーが出た件 #Linux - Qiita>https://qiita.com/atsymd/items/a1ff5a496b78f47ce80e]] 2021.8
-[[【Windows】Gitでリモートにアクセスができない時の解決方法(Support for password authentication was removed on August 13, 2021.) #Git - Qiita>https://qiita.com/setonao/items/28749762c0bc1fbbf502]] 2021

-[[SQLiteがバージョン管理システムとしてGitを採用しない理由 - GIGAZINE>https://gigazine.net/news/20231231-why-sqlite-does-not-use-git/]] 2023.12

-[[VScodeだけでGit操作を完結させるのだ〜〜ッ!!>https://zenn.dev/praha/articles/db1c4bcc4ef48c]] 2023.12

-[[Git の Squash マージをやめた話 - Mobile Factory Tech Blog>https://tech.mobilefactory.jp/entry/2023/11/29/160000]] 2023.11

-[[混乱を引き起こしがちなGitの用語まとめ - GIGAZINE>https://gigazine.net/news/20231111-confusing-git-terminology/]] 2023.11

-[[Git で複数のコミットを1つにまとめられる「スカッシュ」というテクニック | DevelopersIO>https://dev.classmethod.jp/articles/squashing-multiple-commits-in-git/]] 2023.10

-[["Git SOS: 間違えて別のブランチにpushしてしまったときの対処法" - Qiita>https://qiita.com/hamusan44/items/390d542a9ded9a4c6bb2]] 2023.10

-[[Git commit と .gitmessage - Qiita>https://qiita.com/mnishiguchi/items/aa198ced2a516b67341d]] 2023.6

-[[【Git】認証情報を切り替える - 小さなことからこつこつと。>https://bonoponz.hatenablog.com/entry/2020/06/17/%E3%80%90Git%E3%80%91%E8%AA%8D%E8%A8%BC%E6%83%85%E5%A0%B1%E3%82%92%E5%88%87%E3%82%8A%E6%9B%BF%E3%81%88%E3%82%8B]] 2020

-git bashで最初に接続したときに入れた認証情報を変えたい場合は、Windowsの資格情報マネージャーに登録されている情報を書き換える。 2023.1

-[[Git bash日本語化 (Git from the Windows / MINGW64) | Han The World>https://hanrobo.amebaownd.com/posts/1862194]] 2017
--フォントをMS ゴシックにする
--Locale を ja_JP、CharsetをUTF-8にする

-[[[Git] .gitignoreの仕様詳解 - Qiita>https://qiita.com/anqooqie/items/110957797b3d5280c44f]] 2016

-[[4 Things No One Tells You About Git | DevelopersIO>https://dev.classmethod.jp/articles/4-things-no-one-tells-you-about-git/]] 2022.11
--1) When another developer pushes their changes to the same branch on remote
--2) There is a bug in the code, how to find the cause?
--3) Undo your commits
--4) Remote file added to .gitignore is still being tracked by git

-[[Git submodule の基礎 - Qiita>https://qiita.com/sotarok/items/0d525e568a6088f6f6bb]] 2022.6

-[[Gitの内部はどうなっているのか - Qiita>https://qiita.com/k-yanai60/items/4020a19e4adfab01a895]] 2022.10

-[[git初学者が必ず出会う「error: Your local changes to the following files would be overwritten by checkout:」について - Qiita>https://qiita.com/aono1234/items/e869902a0d465d415f5b]] 2022.9

-[[【Git】Gitのコミットの裏側で何が起きているのか(スナップショットとは何?) - DIVX engineer gateway>https://engineering.divx.co.jp/entry/2022/08/08/144149]] 2022.8

-[[データサイエンティストのための Git 入門 - 変化を求めるデベロッパーを応援するウェブマガジン | AWS>https://aws.amazon.com/jp/builders-flash/202207/git-introduction-for-data-schientist/?awsf.filter-name=*all]] 2022.7

-[[[Git] 機能の削除ではcommit prefixにrefactor!を使ってみよう | DevelopersIO>https://dev.classmethod.jp/articles/git-commit-prefix-refactor-breaking/]] 2022.6

-[[Ubuntu で Git の最新を使う - Qiita>https://qiita.com/cointoss1973/items/1c01837e65b937fc0761]] 2020

-[[GitのWorking TreeとIndexが分かる記事 - Qiita>https://qiita.com/sparklingbaby/items/e749249d366c7487bbbf]] 2022.2

-[[Git:ブランチ名をmasterからmainに変更する方法 | もためも>https://motamemo.com/git/git-tips/branch-rename-from-master-to-main/]] 2022.1

-[[Gitに危険な脆弱性が見つかった>https://www.orangeitems.com/entry/2020/04/18/152021]] 2020.4
 git update-git-for-windows

-[[Gitに慣れていない人がよくハマるパターンと対処法まとめ>https://qiita.com/terry_6518/items/44ce2419a78d4121569a]] 2020.3
--作業ブランチ間違えて作業しちゃった!!パターン
--commitメッセージを記入し忘れたー!パターン
--git add .でいらんファイルまでステージングしちゃったー!パターン
--いらない追跡対象外のファイルがなぜかたくさんあって、このままだとcommitできねえー!!パターン
--プルリクを送る先を間違えたーー!パターン

-[[[Please tell me who you are.] git commitできない時の対処方法>https://qiita.com/Taylor-U/items/3f329895766e613b3acf]] 2019.1

-[[Gitレベル別オススメ学習サイトまとめ完全保存版【2018.11】>https://qiita.com/think-a-lot/items/b3c2e9060f46f5d4ea46]] 2018.11

-[[Gitチートシート>http://qiita.com/ktaro/items/1d8c8ae698a88b1d6f0f]] 2014.8

-http://k.swd.cc/learnGitBranching-ja/

-[[Try  Git In Your Browser>https://github.com/blog/1183-try-git-in-your-browser]] 2012.7.4

-[[続・イラストでわかるgit入門の入門:ブランチを切る>http://blog.asial.co.jp/925]] 2012.6.28

-[[Gitのベストプラクティクスっぽいもの>http://aereal.hateblo.jp/entry/2012/04/10/002551]]  2012.4.10

-[[Git Cheat Sheets JP>http://hail2u.net/documents/git-cheat-sheets-jp.html]]

-[[分散バージョン管理Git/Mercurial/Bazaar徹底比較>http://www.atmarkit.co.jp/fjava/rensai4/devtool03/devtool03_1.html]]


*ブランチ戦略/ワークフロー [#h69204d3]
-[[2024年Gitワークフロー再考 | フューチャー技術ブログ>https://future-architect.github.io/articles/20240410a/]] 2024.4

-[[Feature Flag Deep Dive - Speaker Deck>https://speakerdeck.com/biwashi/feature-flag-deep-dive]] 2024.3
--ブランチ戦略(Git Flow, GitHub Flow etc.)の話

-[[Gitブランチ戦略 Stacking手法のケーススタディ | メルカリエンジニアリング>https://engineering.mercari.com/blog/entry/20231209-git-branch-strategy-stacked-diffs-case-study/]] 2023.12

-[[トランクベース開発の実現に向けた開発プロセスとCIパイプラインの継続的改善 - Speaker Deck>https://speakerdeck.com/aanrii/torankuhesukai-fa-noshi-xian-nixiang-ketakai-fa-hurosesutocihaihurainnoji-sok-de-gai-shan]] 2023.3
--敢えてフィーチャーブランチを切らないでmasterブランチ上でコミットしていく作戦

-[[git-flowを採用するべきではない - Qiita>https://qiita.com/ktateish/items/76ca0130aec3be05376c]] 2022.7
--2022年現在のWebアプリ開発において git-flow はフィットしない可能性が高い (git-flow提唱者自身がそれを認めている)
--git-flowには他にも色々と要改善点があるので、Webアプリでない場合も採用するときは良く考えてから採用すべき。

-[[品質を保ちながら週2回のデプロイを可能にした、レビューの負担を減らすブランチ戦略 - TOWN株式会社>https://town.biz/blog/2062]] 2022.5



*gitconfig [#q6f36237]
-[[最低限しておくといいgitconfigの設定 #Git - Qiita>https://qiita.com/hayamofu/items/d8103e789196bcd8b489]] 2017

-[[git パスワードを毎回聞かれる問題をHTTPSでも解決 #Git - Qiita>https://qiita.com/Kamo123/items/c92b03278b6302c641e3]] 2019

-[[Git - 認証情報の保存>https://git-scm.com/book/ja/v2/Git-%E3%81%AE%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E3%83%84%E3%83%BC%E3%83%AB-%E8%AA%8D%E8%A8%BC%E6%83%85%E5%A0%B1%E3%81%AE%E4%BF%9D%E5%AD%98]] 2023.10

-[[Gitの初期設定・ちょっと便利な設定 #Git - Qiita>https://qiita.com/fenruru22/items/66b13300ed213a3e3a64]] 2023.10
--gitconfigでパスワードを保存しておく設定

-[[[小ネタ][git] 日本語ファイルの文字化けを回避する | DevelopersIO>https://dev.classmethod.jp/articles/git-avoid-illegal-charactor-tips/]] 2015
--日本語ファイル名が \XXX\XXX... のように8進数で表示されてしまうのを日本語表示にする。
--git config --global core.quotepath false

-[[【Gitエラー解決】warning: LF will be replaced by CRLF - Qiita>https://qiita.com/WebEngrChild/items/133484ca79fc90a207d5]] 2021
--git config --global core.autoCRLF false で無効にできる



*Git入門記事 [#d3aeb4ad]
-[[Git入門 - Speaker Deck>https://speakerdeck.com/silmin_/gitru-men]] 2023.5

-[[初心者がGitの使い方を学べて挫折を防ぐサービス"GIT USED TO"を自分のポートフォリオとして作ったので紹介させてください【Rails api/react/typescript/Docker/CircleCI/aws Fargate/cloudfront】 - Qiita>https://qiita.com/shuhei_m/items/292699e76dbd206a2462]] 2023.1

-[[【超入門】初心者のためのGitとGitHubの使い方 - RAKUS Developers Blog | ラクス エンジニアブログ>https://tech-blog.rakus.co.jp/entry/20200529/git]] 2020

-[[Git & GitHub Tutorial For Beginners - DEV Community>https://dev.to/codewithmmak/git-github-tutorial-for-beginners-2i2i]] 2022.7

-[[Git の仕組み (1) - こせきの技術日記>https://koseki.hatenablog.com/entry/2014/04/22/inside-git-1]] 2014

-[[【Git入門講座 合併版】この動画1本でGitとGitHubの基礎をゼロからマスター!【初心者向け】 - YouTube>https://www.youtube.com/watch?v=WHwuNP4kalU]] 2021.7

-[[git-flow 図解>https://qiita.com/ohnaka0410/items/7c7fa20710dfd72b7d7a]] 2020.4
--[[A successful Git branching model を翻訳しました>http://keijinsonyaban.blogspot.com/2010/10/a-successful-git-branching-model.html]]

-[[Git入門>http://www8.atwiki.jp/git_jp/]]
--[[WindowsでGitを始めるならmysysGit>http://www.moongift.jp/2008/08/msysgit/]]

-[[これからGitを始める人が読むべき記事>http://www.akiyan.com/blog/archives/2009/05/posts-for-git-beginne.html]]

-[[Git - book>http://git-scm.com/book]]
--[[Pro Git(日本語版)>http://progit-ja.github.io/]]

-[[入門Gitが神本である件>http://tech.kayac.com/archive/git-book.html]]
-[[Gitの基礎練習>http://www.hyuki.com/techinfo/gitinit.html]]
-[[Git-簡単ガイド>http://rogerdudler.github.com/git-guide/index.ja.html]]

-[[Gitの基礎>http://dotinstall.com/lessons/basic_git]]
--ドットインストール

-[[ガチで5分で分かる分散型バージョン管理システムGit>http://www.atmarkit.co.jp/ait/articles/1307/05/news028.html]] 2013.7.5

-[[gitの入門用のチュートリアル"Learn Git Branching"を訳した>http://rimuru.lunanet.gr.jp/notes/post/2966/]] 2013.3.18
--[[GitHub - pcottle/learnGitBranching: An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!>https://github.com/pcottle/learnGitBranching]] 2022

-&ref(git用語.jpg);



*関連ツール [#rb3c8f26]
-[[TortoiseGit マニュアル - Qiita>https://qiita.com/MakotoIshikawa/items/db67029bd65291e75d89]] 2023.8

-[[Sourcetree | Free Git GUI for Mac and Windows>https://www.sourcetreeapp.com/]] 2023.2

-[[まだgit add -A使ってるの? GUI使いなよ。 - Qiita>https://qiita.com/KRofLife/items/be61a885b1f971303b21]] 2022.7
--git gui を使えと言う話

-[[「どうせgit操作するならカッコいいツールでやりたいなー」→ lazygitはいかがですか?>https://qiita.com/snyt45/items/32b1006490ae4da86766]] 2021.10

-https://www.gitkraken.com/

-[[A Visual Git Reference>http://marklodato.github.com/visual-git-guide/]]




*SVN との関係/比較/連携/移行など [#z8299720]
-[[SVNを捨ててGitを使うべき5つの理由 - Qiita>https://qiita.com/YusukeHosonuma/items/14c59f3878d640a401a1]] 2015

-[[GitHubがSubversionのサポート終了を発表、2024年1月8日まで。その後は全面的にGitに注力予定 − Publickey>https://www.publickey1.jp/blog/23/githubsubversion202418git.html]] 2023.1

-[[Git-Subversion比較|サル先生のGit入門【プロジェクト管理ツールBacklog】>https://backlog.com/ja/git-tutorial/reference/git-svn/]] 2022.4

-[[GitとSVNの違いとは?基本構造、ブランチ管理、マージの仕方まで詳しく解説 | コラム | aslead | 野村総合研究所(NRI)>https://aslead.nri.co.jp/column/differences-between-git-and-svn.html]] 2022.2

-[[GitとSubversionの構造的な違い|GitのブランチはSubversionのブランチとは全く違うモノ – リックソフト公式ブログ(Ricksoft Blog)>https://www.ricksoft.jp/blog/archives/9483/]] 2018

-[[仕事で使ってる巨大SVNレポジトリをGithubに移管するためにやったことまとめ>http://dqn.sakusakutto.jp/2012/10/svn-git-github-migration.html]] 2012.10.21

-[[tips - svnメイン、でもgithubでも公開したい場合の最小手順>http://blog.livedoor.jp/dankogai/archives/51194979.html]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS