mkdir node_mongodb
cd node_mongodb
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin git@192.168.0.199:dev/node_mongodb.git
git push -u origin master
提示
Pushing to git@192.168.0.199:dev/node_mongodb.git
Access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
空仓库创建没有,
需要在gitlab里
dev
组下创建Projectnode_mongodb
光本地创建是不行的