2012年6月9日土曜日

gitでbareじゃない共有リポジトリを作る

共有リポジトリだと作業フォルダが無くて不便なので

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[receive]
        denyCurrentBranch = ignore
コマンドならこう
git config --add receive.denyCurrentBranch ignore
参考リンク http://d.hatena.ne.jp/shokai/20101105/1288968082

0 件のコメント: