导航栏: 首页 评论列表

gitlab创建项目

默认分类 2013/08/28 03:00

ssh - git@42.96.169.157:haiyang5210/pick_webapp.git  

http -http://42.96.169.157/haiyang5210/pick_webapp.git

Git global setup:

git config --global user.name "haiyang5210"
git config --global user.email "haiyang5210@gmail.com"

Create Repository

mkdir pick_webapp
cd pick_webapp
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@42.96.169.157:haiyang5210/pick_webapp.git
git push -u origin master

Existing Git Repo?

cd existing_git_repo
git remote add origin git@42.96.169.157:haiyang5210/pick_webapp.git
git push -u origin master


>> 留言评论