Git笔记

Git

git init
git add .
git commit -m 'init'
git remote add origin xxx@xxx.com:/opt/git/xxx.git  
git push origin master



git clone --bare my_project myproject.git   
scp -r myproject.git xxx@xxx.com:/opt/git

git clone xxx@xxx.com:/opt/git/xxx.git
by Jungledrum