#author("2023-01-01T23:44:05+09:00","default:irrp","irrp")
#author("2023-01-10T17:14:25+09:00","default:irrp","irrp")
→バージョン管理ツール

→[[CI/CD]] ←AWS CodeCommit,GitLab についてはこちらへ

#contents


*Tipsなど [#j2f42825]
-[[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 add -A使ってるの? GUI使いなよ。 - Qiita>https://qiita.com/KRofLife/items/be61a885b1f971303b21]] 2022.7

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

-[[データサイエンティストのための 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

-[[[ver 1.2] Git でよく使われるコマンドにイラストによる説明を加えて1枚のチートシートにまとめてみた - Qiita>https://qiita.com/kozzy/items/b42ba59a8bac190a16ab]] 2019

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

-[[Gitを使ってやらかした時、git reflogさえ使えればわりかしなんとかなる - Qiita>https://qiita.com/getty104/items/cfd98f5f0ea89ef07bf0]] 2022.4

-[[git で一番危険なコマンドは init?>https://qiita.com/yuji96/items/136b6c8346d99b581f1d]] 2022.4

-[[たまに使うGitコマンド集 - Qiita>https://qiita.com/goamix/items/d910871db4b53d77bffe]] 2022.3

-[[git pullとgit pull --rebaseの違い - Qiita>https://qiita.com/Hashimoto-Noriaki/items/6e183f738289cf288b23]] 2022.3
--fetch してから merge するか rebase するかの違い

-[[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できねえー!!パターン
--プルリクを送る先を間違えたーー!パターン

-[[Gitの基本操作逆引き辞典>https://qiita.com/ray_20500/items/490b4a49f6da20b616a7]] 2020.2


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

-[[便利な「git-サブコマンド」を作成する>https://qiita.com/b4b4r07/items/6b76a5f969231e5e9748]] 2015.9

-[[git rebaseを初めて使った際のまとめ>https://qiita.com/panti310/items/e0ec74b47c6c219f2a8b]] 2018.2
--トピックブランチcheckoutから git rebase master などとする。
--この場合、rebase した master ブランチ側の最新状態をトピックブランチにマージする
--rebase後はトピックブランチはあたかも master 側の最終コミット後から分岐したかのようになる

-[[こわくないGit>https://www.slideshare.net/kotas/git-15276118]] 
--「マージがなんとなく怖い」「リベースするなって怒られて怖い」「エラーが出て怖い」Git 入門者にありがちな「Git 怖い」を解消する

-[[git pull を強制し、リモートでローカルを上書きする方法>http://www-creators.com/archives/1097]] 2018.7
 $ git fetch origin master
 $ git reset --hard origin/master

-[[リモートのgitブランチをローカルにチェックアウトする>https://www.setoya-blog.com/entry/2012/11/04/132746]] 2012.11
 git branch -a
 git fetch
 git checkout -b <local branch> <remote branch>

-[[実務でどんな git コマンドを使っているか振り返ってみる>https://qiita.com/west-hiroaki/items/74cccbc22b2cc7a4aacb]] 2019.6

-[[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]]

-[[Gitを使いこなすための20のコマンド>http://sourceforge.jp/magazine/09/03/16/0831212]]


*rebase と merge [#z6afdc64]
-[[rebase したらちょっと前に入れた修正が巻き戻ってた - Qiita>https://qiita.com/satomihoya/items/c126fcc939a9a454fd1b]] 2022.6
--force push は歴史の改変なのだということを強く意識しましょう

-[[Git でrebaseを迷わず活用できるようになる - APC 技術ブログ>https://techblog.ap-com.co.jp/entry/2022/06/02/120001]] 2022.6

-[[あなたはmerge派?rebase派?綺麗なGitログで実感したメリット - BIGLOBE Style | BIGLOBEの「はたらく人」と「トガッた技術」>https://style.biglobe.co.jp/entry/2022/03/22/090000]] 2022.3

-[[Gitワークフロー設計について - 電通国際情報サービス TechBlog>https://tech.isid.co.jp/entry/2022/01/24/Git%E3%83%AF%E3%83%BC%E3%82%AF%E3%83%95%E3%83%AD%E3%83%BC%E8%A8%AD%E8%A8%88%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6]] 2022.1

-[[pushしてからrebaseはダメ! - Qiita>https://qiita.com/riku929hr/items/15415d34ee5fc412c126]] 2022.3
--pushするまではrebase、pushしたあとはmerge

-[[リベースでのコンフリクトを直そう &#8211; GIT>https://off.tokyo/blog/%e3%83%aa%e3%83%99%e3%83%bc%e3%82%b9%e3%81%a7%e3%81%ae%e3%82%b3%e3%83%b3%e3%83%95%e3%83%aa%e3%82%af%e3%83%88%e3%82%92%e7%9b%b4%e3%81%9d%e3%81%86-git/]]

-[[ブランチを途中からリベースしたい - Qiita>https://qiita.com/mitashun/items/98ab98e83c0bba1ecba8]] 2022.2





*Git入門記事 [#d3aeb4ad]
-[[【超入門】初心者のための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);

-&ref(gitcommand.jpg);


*関連ツール [#rb3c8f26]
-[[「どうせ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/]]


*GitHub [#v152a2c5]
-[[GitHub Packagesのnpm registryを利用してパッケージを公開してみた|SHIFT Group 技術ブログ|note>https://note.com/shift_tech/n/ne2a7ebaa7343]] 2022.10

-[[GitHub CLI を使ってみた | DevelopersIO>https://dev.classmethod.jp/articles/tried-using-github-cli/]] 2021

-[[How to host a Hugo or Next.js site on GitHub Pages - DEV Community>https://dev.to/github/how-to-host-a-static-nextjs-site-on-github-pages-4pe0]] 2022.8
-[[How to host your first site for free on GitHub Pages - DEV Community>https://dev.to/github/how-to-host-your-first-site-for-free-on-github-pages-45ob]] 2022.8

-[[GitHubの使い方を学ぶ「GitHub Skills」が無料公開。GitHubを実際に操作してMarkdown、Pages、Pull Requests、マージのコンフリクト解消などを体験 − Publickey>https://www.publickey1.jp/blog/22/githubgithub_skillsgithubmarkdownpagespull_requests.html]] 2022.6


-[[GitHub、チームでの利用も無料に。プライベートリポジトリ数も制限なく、チームディスカッション、ActionsによるCI/CDも可能>https://www.publickey1.jp/blog/20/githubactionscicd.html]] 2020.4

-[[LGTM画像がコピーできるサイトまとめ>https://himakan.net/websites/lgtm_image]]

-[[プルリクエストとは?>http://www.backlog.jp/git-guide/pull-request/pull-request1_1.html]] 2017.4

-[[Githubのwikiに画像やpdfをサクッとシンプルに貼り付ける方法>https://qiita.com/SLEAZOIDS/items/e6ebbc3aad53f2700492]] 2017.11

-[[会社でGitHubを使うとなぜ危ないのか>https://www.orangeitems.com/entry/2019/07/24/154031]] 2019.7

-[[もう見た?GitHub最新人気リポジトリTop25総覧【2017年9月版】>https://employment.en-japan.com/engineerhub/entry/2017/09/14/110000]] 2017.9

-[[英語が苦手なフレンズに贈るGitHub事始め(GitHub公式チュートリアル翻訳)>http://qiita.com/ryo1224/items/34a607a96efb7d32dad3]] 2017.8.9

-[[Eclipseで作ったプロジェクトをGitHubリポジトリに登録する>http://programming-10000.hatenadiary.jp/entry/20140613/1402616801]] 2014.6.13

-[[そもそもGitHubとは一体何か?>http://jp.techcrunch.com/archives/20120714what-exactly-is-github-anyway/]] 2012.7.16

-[[プログラマがGitHubとどう関わっているのか垣間見て感じたこと>http://hiroki.jp/2012/06/24/4477/]] 2012.6.24


-[[ナウなヤングのためのgithub入門講座 -基本機能からdotfiles管理までナウなヤングのためのgithub入門講座 -基本機能からdotfiles管理まで>http://d.hatena.ne.jp/shim0mura/20111212/1323660740]] 2011.12.12

-http://github.com/
--[[GitHubとは>http://d.hatena.ne.jp/keyword/GitHub?kid=230914]]

**GitHub Organization [#lcfe2b93]
-[[会社用のgithubを作成した話 - Qiita>https://qiita.com/kohei_abe/items/e2dbbf43de2f28a60408]] 2021
-[[【個人的】チーム開発におけるGitHub Organization (Free) の設定と運用ルール>https://zenn.dev/nekocodex/articles/a9163b6f935b6d]] 2021.6
-[[githubのorganizationアカウントの運営について - Qiita>https://qiita.com/chari/items/ee16bf16715f4bbcbd9b]] 2016


*SVN との関係/比較/連携/移行など [#z8299720]
-[[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のブランチとは全く違うモノ &#8211; リックソフト公式ブログ(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