gitlab上用sourcetree新建项目
1.在gitlab上新建项目
2.打开sourcetree克隆仓库
3.进入命令行,输入
1)git config --global user.name"your_name"
2)git config --global user.email "your_email"
3)git init
4.打开本机的项目路径,把自己的代码copy到项目中
5.命令行,输入
git add .
git commit -m 'init commit'
git push origin master