2009-01-09
■[git] /etc以下をgitで管理する
$ sudo su - # cd /etc # git init # vi ~/.gitignore
.gitignoreの内容
fstab
mtab
\#*
*.old
#
# git add . # git commit -m "first commit" # ssh user@192.168.11.3 @remote$ mkdir -p git/192.168.11.2/etc.git @remote$ cd git/192.168.11.2/etc.git @remote$ git --bare init @remote$ exit # pwd # /etc # git remote add origin ssh://user@192.168.11.3/home/yoshida/git/192.168.11.2/etc.git # git push origin master
トラックバック - http://d.hatena.ne.jp/rudeboyjet/20090109/p1
リンク元
- 69 http://www.in-vitro.jp/blog/index.cgi/Linux/20070419_01.html
- 33 http://kunik.no-ip.com/2007/10/20/0146/ubuntu-gutsy-apache2-ssl-setting.html
- 29 http://www.google.co.jp/search?hl=ja&client=firefox-a&rls=org.mozilla:ja:official&hs=sBp&q=mysql+update+副問い合わせ&btnG=検索&lr=lang_ja
- 26 http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rls=GGLD,GGLD:2008-38,GGLD:ja&q=Linux ファイルを作る
- 24 http://www.google.co.jp/search?hl=ja&client=firefox-a&rls=com.ubuntu:ja:unofficial&hs=Qpy&q=ubuntu+alsa+インストール&btnG=検索&lr=
- 13 http://www.google.com/search?hl=ja&lr=lang_ja&ie=UTF-8&oe=UTF-8&q=カーネル再構築+debian+zaptel+2.6.18&num=50
- 11 http://www.google.co.jp/search?hl=ja&lr=lang_ja&client=firefox-a&rls=org.mozilla:ja:official&hs=WKR&q=携帯+input+mode&revid=541713649&sa=X&oi=revisions_inline&resnum=0&ct=top-revision&cd=2
- 11 http://www.google.co.jp/search?q=ubuntu+ClamAV&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:ja:unofficial&client=firefox-a
- 9 http://www.google.com/custom?hl=ja&client=pub-2070091971271392&channel=0262445351&cof=FORID:1;AH:left;CX:Start%20Search;L:http://www.google.com/coop/intl/ja-US/images/custom_search_sm.gif;LH:65;LP:1;VLC:#551a8
- 8 http://www.google.co.jp/search?hl=ja&q=シェル インクリメント&btnG=Google+検索&meta=lr=&aq=f