预科02

git

  1. 下载
  2. 安装
  3. 使用
    1. 在要提交的文件夹下右键git bash here

      1. 初始化git git inin
    2. 输入用户名 git config --global user.name "用户名"

    3. 输入邮箱 git config --global user.email "邮箱"

    4. 弹出窗口输入码云账号密码

    5. 添加当前文件夹 git add .

    6. 给予上传文件备注信息 git commit -m "备注信息"

    7. 链接远程代码仓库

    8. 提交 git -u push origin master

    9. 多次提交仅需要输入6,7,9

git pull origin master:拉取远程代码

git pull origin master --allow-unrelated-histories:远程的记录与本地记录合并

ESC:wq

git init

git add.

git commit -m ""

git remote add origin 链接

git push origin master

git pull origin master

git push origin master

![img](file:///D:\qq\cheart\188201521\Image\Group\R@Z)%@PW7CXZCL)Y15I9MN7.png)

img

![img](file:///D:\qq\cheart\188201521\Image\Group\NZV%LQM)(1{}XU}HT0JNHVQ.png)

码云

  1. 注册
  2. 不能在码云上修改任何文件

思维导图

博客

  1. 注册
  2. 发表每日的学习笔记
posted @ 2019-10-19 15:29  不码不开心  阅读(176)  评论(0编辑  收藏  举报