[[PageOutline]] = Git = * [http://git-scm.com/book/ja/ Git - Book] * [http://git-scm.com/book/ja/Git-%E3%81%AE%E3%83%96%E3%83%A9%E3%83%B3%E3%83%81%E6%A9%9F%E8%83%BD-%E3%83%96%E3%83%A9%E3%83%B3%E3%83%81%E3%81%AE%E7%AE%A1%E7%90%86 3.3 Git のブランチ機能 - ブランチの管理] > 現在作業中のブランチにマージ済みのブランチを調べるには git branch –merged を実行します。 > まだマージされていない作業を持っているすべてのブランチを知るには、git branch --no-merged を実行します。 * [http://www8.atwiki.jp/git_jp/ Git入門 - トップページ] * [http://www.hyuki.com/techinfo/gitinit.html Gitの基礎練習] * [http://www.machu.jp/diary/20100506.html#p01 Subversion ユーザーが Git を使ってみた (基本操作編) - まちゅダイアリー(2010-05-06)] * Subversion使っている人間としては分かりやすい * [http://d.hatena.ne.jp/propella/20110105/p1 ファイルシステムとしての Git - 言語ゲーム] * twitter:suma90h/status/23299114481491968 * [http://d.hatena.ne.jp/idesaku/20091230/1262159267 git-cherry-pickを掘り下げる - idesaku blog] * twitter:random_oracle/status/24024533967044608 * [http://stackoverflow.com/questions/3959924/whats-the-difference-between-git-clone-mirror-and-git-clone-bare What's the difference between git clone --mirror and git clone --bare - Stack Overflow] * 通常のclone, clone --bare, clone --mirrorの違いについて詳しく書かれている * [http://d.hatena.ne.jp/shim0mura/20120914/1347591103 gitのbareリポジトリのバックアップをとる - 馬鹿と天才は紙一重] > バックアップ用のリポジトリを作るのであれば--bareではなく--mirrorというオプションをつけます。 > {{{ > $ git clone --mirror yamucha chaoz > }}} > git-pullをすると、chaozはbareリポジトリだから管理ファイルしか存在しないためにmergeができないよと怒られます。なのでここではgit-fetchをしないといけません。 * [http://d.hatena.ne.jp/tyru/20110723/git_clone_mirror git clone --mirror - Humanity] > --mirrorは実際これと同じことをしてるっぽい(たぶん) > {{{ > $ git clone --bare {uri} > $ cd {dir} > $ git config remote.origin.fetch '+refs/*:refs/*' > $ git config remote.origin.url $uri > $ git config remote.origin.mirror true > }}} * [http://stackoverflow.com/questions/8333870/is-there-an-advantage-to-using-no-metadata-in-git-svn-clone Is there an advantage to using --no-metadata in git svn clone? - Stack Overflow] > This option is NOT recommended as it makes it difficult to track down old references to SVN revision numbers in existing documentation, bug reports and archives. = prompt = * bash * [http://blog.asial.co.jp/845 Gitを使い始めたらやっておきたい便利な設定いろいろ : アシアルブログ] * [http://d.hatena.ne.jp/deeeki/20110402/git_branch_ps1 Gitブランチ名を__git_ps1でbashプロンプトに表示 - 130単位] * [http://d.hatena.ne.jp/notogawa/20120720/1342756620 bashのプロンプトにブランチ名を右寄せ表示する - ぼくのぬまち 出張版] * source:lab/trunk/TipAndDoc/.gitconfig, source:lab/trunk/TipAndDoc/.bashrc = github = * [http://addyosmani.com/blog/backing-up-a-github-account/ Pro-tip: How To Backup All Of Your GitHub Repositories In One Go] * github:joeyh/github-backup