您现在的位置是:网站首页>前端技术>VueVue

git码云使用命令

神夜2019-09-24 14:49:12Vue3975人已围观文章来源:神夜个人博客

简介git码云使用命令大全

生成一个ssh
ssh-keygen -t rsa -C "8888888@qq.com"    

简易的命令行入门教程:
Git 全局设置:
git config --global user.name "神夜"

git config --global user.email "888888@qq.com"


创建 git 仓库:
mkdir test
cd test
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin git@gitee.com:232323/test.git

git push -u origin master


已有仓库?
cd existing_git_repo
git remote add origin git@gitee.com:2323/test.git
git push -u origin master

站点信息

  • 建站时间:2017-10-24
  • 网站程序:Hsycms 3.0
  • 文章统计:511条
  • 微信公众号:扫描二维码,关注我们