Changes between Version 10 and Version 11 of TipAndDoc/scm/git


Ignore:
Timestamp:
Apr 11, 2013 2:37:12 PM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/scm/git

    v10 v11  
    1414 * [http://d.hatena.ne.jp/idesaku/20091230/1262159267 git-cherry-pickを掘り下げる - idesaku blog] 
    1515  * twitter:random_oracle/status/24024533967044608 
     16 * [http://d.hatena.ne.jp/shim0mura/20120914/1347591103 gitのbareリポジトリのバックアップをとる - 馬鹿と天才は紙一重] 
     17 > バックアップ用のリポジトリを作るのであれば--bareではなく--mirrorというオプションをつけます。 
     18 > {{{ 
     19 > $ git clone --mirror yamucha chaoz 
     20 > }}} 
     21 > git-pullをすると、chaozはbareリポジトリだから管理ファイルしか存在しないためにmergeができないよと怒られます。なのでここではgit-fetchをしないといけません。 
    1622 * [http://d.hatena.ne.jp/tyru/20110723/git_clone_mirror git clone --mirror - Humanity] 
    1723 > --mirrorは実際これと同じことをしてるっぽい(たぶん)