« postgres ユーザーまわり | メイン | PHP 動的にメソッド作成 »
2018年01月09日
git一部のディレクトリのみ展開
mkdir /var/www/hoge
cd /var/www/hoge
git init
git config --bool core.bare false
git config core.sparsecheckout true
git remote add origin /my/git/dir/
echo /html > .git/info/sparse-checkout
git pull origin master
投稿者 muuming : 2018年01月09日 10:59