1.bitbucket
1.1創建用戶
1.2創建項目
1.3添加權限
2.Git
2.1創建賬戶
#git config --global user.name "admin"
#git conflig --global user.email "admin@email"
2.2添加文件
#git add file
#git commit -m "初始提交“
#git remote add origin http://admin@IP:7990/scm/gds/gds.git
#git push -u origin master
2.3如果代碼庫已存在
#git remote set-url origin http://admin@IP:7990/gds/gds.git
#git push -u origin master