代码托管仓库之码云

码云是一个代码托管仓库,作为编程人员,大家应该都听过过或使用过github吧,如果说github是全世界编程者的代码仓库,码云是实际上就是中国的github,github由于服务器在外国,可能在国内我们访问速度回非常慢,而码云作为国内最常用的仓库之一,速度和友好型方面自然会号很多。

首先注册一个账号,之后可以创建一个仓库

Git 全局设置:

git config --global user.name "张亚飞"
git config --global user.email "[email protected]"

创建 git 仓库:

mkdir lstm-crf
cd lstm-crf
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/zhangyafeii/lstm-crf.git
git push -u origin master

已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/zhangyafeii/lstm-crf.git
git push -u origin master

猜你喜欢

转载自www.cnblogs.com/zhangyafei/p/10402734.html
今日推荐