老莫的笔记本  
  
查看: 785|回复: 0

码云创建完仓库后的提示

[复制链接]

662

主题

878

帖子

5143

积分

超级版主

Rank: 8Rank: 8

积分
5143
发表于 2021-6-19 15:23:18 | 显示全部楼层 |阅读模式
简易的命令行入门教程:
Git 全局设置:

git config --global user.name "老莫"
git config --global user.email "294144966@qq.com"
创建 git 仓库:

mkdir trademark-classification   【  其实没必要创建新文件夹 闲的】
cd trademark-classification    [ 这一条 上面 一条 这两个可以跳过  ]
git init
touch README.md
git add README.md  [  git add -A 表示全部上传  ]
git commit -m "first commit"
git remote add origin https://gitee.com/jinselaomo/trademark-classification.git
git push -u origin master
已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/jinselaomo/trademark-classification.git
git push -u origin master

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表