git init
git config --global user.name "xx"
git config --global user.email "xx@xxx.com"
touch .gitignore
vi .gitignore
git add .
git commit -m 'init'
git remote add origin http:/xx/project.git
git push -u origin
# rm 先删后加
git remote rm origin
#clone rename
git clone http:/xx/project.git rename